#768C42

Closest named color: Khaki Green (#728639). oklch(60.6% 0.104 123.2), rgb(118, 140, 66).

Aa

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

About this color

#768C42 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.104 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.019 away. Black text reads best on it, at 5.60:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.60:1
White text3.74:1

Values

HEX#768C42
RGBrgb(118, 140, 66)
HSLhsl(78, 36%, 40%)
OKLCHoklch(60.6% 0.104 123.2)

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 #768C42 3.74:1 AA large text Lc -70.5 Content text, not long reading
Black text on #768C42 5.60:1 AA Lc 39.1 Non-text elements, placeholder text
#768C42 text on white 3.74:1 AA large text Lc 65.0 Content text, not long reading
#768C42 text on black 5.60:1 AA Lc -36.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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D5DDC8

    oklch(88.6% 0.03 124)

  4. Step 300

    300

    #BAC7A3

    oklch(81% 0.051 123.7)

  5. Step 400

    400

    #97A970

    oklch(70.7% 0.081 122.7)

  6. Step 500

    500 (this color)

    #768C42

    oklch(60.6% 0.104 123.2)

  7. Step 600

    600

    #677E2A

    oklch(55.7% 0.113 123.2)

  8. Step 700

    700

    #556A1D

    oklch(49.1% 0.105 123.5)

  9. Step 800

    800

    #46561A

    oklch(42.6% 0.086 122.9)

  10. Step 900

    900

    #3B471C

    oklch(37.6% 0.067 122.6)

  11. Step 950

    950

    #222A11

    oklch(27% 0.044 123.9)

Export this scale for Tailwind in the Tailwind colors tool

#768C42 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)#93843B0.045
Deuteranopia (no green cones)#9084460.045
Tritanopia (no blue cones)#7B867B0.085
Achromatopsia (no color)#8484840.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #768C42

    #768C42

    oklch(60.6% 0.104 123.2)

  • #8F72B5

    #8F72B5

    oklch(60.6% 0.104 303.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #768C42

    #768C42

    oklch(60.6% 0.104 123.2)

  • #97802E

    #97802E

    oklch(60.5% 0.104 93.2)

  • #4B9464

    #4B9464

    oklch(60.6% 0.104 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #768C42

    #768C42

    oklch(60.6% 0.104 123.2)

  • #6E7DC0

    #6E7DC0

    oklch(60.6% 0.104 273.3)

  • #A76A9C

    #A76A9C

    oklch(60.7% 0.103 333.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #768C42

    #768C42

    oklch(60.6% 0.104 123.2)

  • #4488BB

    #4488BB

    oklch(60.5% 0.104 243.4)

  • #B5667C

    #B5667C

    oklch(60.6% 0.104 2.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #768C42

    #768C42

    oklch(60.6% 0.104 123.2)

  • #0F91A7

    #0F91A7

    oklch(60.5% 0.104 213.7)

  • #8F72B5

    #8F72B5

    oklch(60.6% 0.104 303.4)

  • #B76A59

    #B76A59

    oklch(60.6% 0.103 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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