#768A15

Closest named color: Swamp Green (#748500). oklch(59.7% 0.134 119.7), rgb(118, 138, 21).

Aa

Black text reads best on this color (5.41:1).

About this color

#768A15 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.134 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.015 away. Black text reads best on it, at 5.41:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.41:1
White text3.87:1

Values

HEX#768A15
RGBrgb(118, 138, 21)
HSLhsl(70, 74%, 31%)
OKLCHoklch(59.7% 0.134 119.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #768A15 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #768A15 5.41:1 AA Lc 38.0 Non-text elements, placeholder text
#768A15 text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#768A15 text on black 5.41:1 AA Lc -35.6 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D6DDC2

    oklch(88.5% 0.037 119)

  4. Step 300

    300

    #BBC798

    oklch(80.8% 0.065 119.5)

  5. Step 400

    400

    #98AA5C

    oklch(70.6% 0.105 119.8)

  6. Step 500

    500 (this color)

    #768A15

    oklch(59.7% 0.134 119.7)

  7. Step 600

    600

    #6A7D00

    oklch(55.5% 0.131 119.7)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C4802

    oklch(37.8% 0.088 120)

  11. Step 950

    950

    #232A06

    oklch(26.9% 0.056 119.8)

Export this scale for Tailwind in the Tailwind colors tool

#768A15 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9381000.047
Deuteranopia (no green cones)#9182220.048
Tritanopia (no blue cones)#7D82750.114
Achromatopsia (no color)#8181810.135

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #768A15

    #768A15

    oklch(59.7% 0.134 119.7)

  • #8C6AC3

    #8C6AC3

    oklch(59.6% 0.135 299.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #768A15

    #768A15

    oklch(59.7% 0.134 119.7)

  • #9C7B00

    #9C7B00

    oklch(59.8% 0.122 89.8)

  • #379551

    #379551

    oklch(59.7% 0.135 149.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #768A15

    #768A15

    oklch(59.7% 0.134 119.7)

  • #6079CF

    #6079CF

    oklch(59.7% 0.134 269.8)

  • #AB5FA5

    #AB5FA5

    oklch(59.7% 0.134 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #768A15

    #768A15

    oklch(59.7% 0.134 119.7)

  • #0788C6

    #0788C6

    oklch(59.7% 0.134 239.5)

  • #BD597C

    #BD597C

    oklch(59.6% 0.134 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #768A15

    #768A15

    oklch(59.7% 0.134 119.7)

  • #008FA1

    #008FA1

    oklch(59.6% 0.103 210.3)

  • #8C6AC3

    #8C6AC3

    oklch(59.6% 0.135 299.9)

  • #C25C4E

    #C25C4E

    oklch(59.7% 0.134 29.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #768A15, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #768A15 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.