#7B864E

Closest named color: Drab (#828344). oklch(59.7% 0.079 118), rgb(123, 134, 78).

Aa

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

About this color

#7B864E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.079 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.014 away. Black text reads best on it, at 5.36:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.36:1
White text3.91:1

Values

HEX#7B864E
RGBrgb(123, 134, 78)
HSLhsl(72, 26%, 42%)
OKLCHoklch(59.7% 0.079 118)

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 #7B864E 3.91:1 AA large text Lc -72.1 Content text, not long reading
Black text on #7B864E 5.36:1 AA Lc 37.5 Non-text elements, placeholder text
#7B864E text on white 3.91:1 AA large text Lc 66.6 Content text, not long reading
#7B864E text on black 5.36:1 AA Lc -35.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D7DBCC

    oklch(88.4% 0.021 119)

  4. Step 300

    300

    #BEC4A9

    oklch(80.8% 0.038 117.4)

  5. Step 400

    400

    #9DA67A

    oklch(70.7% 0.062 117.4)

  6. Step 500

    500 (this color)

    #7B864E

    oklch(59.7% 0.079 118)

  7. Step 600

    600

    #6F7A3D

    oklch(55.6% 0.086 117.7)

  8. Step 700

    700

    #5D672F

    oklch(49.2% 0.08 117.8)

  9. Step 800

    800

    #4C5428

    oklch(42.8% 0.066 117.8)

  10. Step 900

    900

    #3F4525

    oklch(37.6% 0.051 117.6)

  11. Step 950

    950

    #252916

    oklch(27.1% 0.033 118.4)

Export this scale for Tailwind in the Tailwind colors tool

#7B864E 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)#8D804A0.029
Deuteranopia (no green cones)#8C81510.030
Tritanopia (no blue cones)#8080780.068
Achromatopsia (no color)#8181810.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B864E

    #7B864E

    oklch(59.7% 0.079 118)

  • #8575A9

    #8575A9

    oklch(59.7% 0.08 298.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B864E

    #7B864E

    oklch(59.7% 0.079 118)

  • #937D45

    #937D45

    oklch(59.8% 0.08 88.5)

  • #5E8D64

    #5E8D64

    oklch(59.8% 0.08 147.7)

Open the analogous palette in the generator

Split complementary

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

  • #7B864E

    #7B864E

    oklch(59.7% 0.079 118)

  • #6B7EAF

    #6B7EAF

    oklch(59.8% 0.078 267.7)

  • #996E98

    #996E98

    oklch(59.6% 0.08 327.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B864E

    #7B864E

    oklch(59.7% 0.079 118)

  • #4F86A9

    #4F86A9

    oklch(59.6% 0.079 238)

  • #A66B7F

    #A66B7F

    oklch(59.7% 0.079 357.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B864E

    #7B864E

    oklch(59.7% 0.079 118)

  • #3C8D98

    #3C8D98

    oklch(59.8% 0.08 207.4)

  • #8575A9

    #8575A9

    oklch(59.7% 0.08 298.1)

  • #AA6D65

    #AA6D65

    oklch(59.8% 0.08 27.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7B864E 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.