#768A27

Closest named color: Olive Drab (#6B8E23). oklch(59.8% 0.124 120.3), rgb(118, 138, 39).

Aa

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

About this color

#768A27 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.124 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.019 away. Black text reads best on it, at 5.43:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.43:1
White text3.86:1

Values

HEX#768A27
RGBrgb(118, 138, 39)
HSLhsl(72, 56%, 35%)
OKLCHoklch(59.8% 0.124 120.3)

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 #768A27 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #768A27 5.43:1 AA Lc 38.1 Non-text elements, placeholder text
#768A27 text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#768A27 text on black 5.43:1 AA Lc -35.7 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

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BBC79B

    oklch(80.9% 0.061 120.2)

  5. Step 400

    400

    #98AA63

    oklch(70.7% 0.097 120.6)

  6. Step 500

    500 (this color)

    #768A27

    oklch(59.8% 0.124 120.3)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C480C

    oklch(37.8% 0.082 120.6)

  11. Step 950

    950

    #232A0A

    oklch(27% 0.052 120.4)

Export this scale for Tailwind in the Tailwind colors tool

#768A27 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)#9382170.045
Deuteranopia (no green cones)#90822F0.046
Tritanopia (no blue cones)#7D83760.104
Achromatopsia (no color)#8282820.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #768A27

    #768A27

    oklch(59.8% 0.124 120.3)

  • #8C6DBE

    #8C6DBE

    oklch(59.9% 0.124 300.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #768A27

    #768A27

    oklch(59.8% 0.124 120.3)

  • #9C7B00

    #9C7B00

    oklch(59.8% 0.122 89.8)

  • #3E9457

    #3E9457

    oklch(59.8% 0.124 150.5)

Open the analogous palette in the generator

Split complementary

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

  • #768A27

    #768A27

    oklch(59.8% 0.124 120.3)

  • #637ACA

    #637ACA

    oklch(59.8% 0.125 270.2)

  • #A962A2

    #A962A2

    oklch(59.8% 0.124 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #768A27

    #768A27

    oklch(59.8% 0.124 120.3)

  • #2488C2

    #2488C2

    oklch(59.9% 0.124 240.1)

  • #BA5D7C

    #BA5D7C

    oklch(59.8% 0.124 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #768A27

    #768A27

    oklch(59.8% 0.124 120.3)

  • #0090A2

    #0090A2

    oklch(59.9% 0.104 210.2)

  • #8C6DBE

    #8C6DBE

    oklch(59.9% 0.124 300.4)

  • #BE6051

    #BE6051

    oklch(59.8% 0.124 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #768A27 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.