#7B852C

Closest named color: Khaki Green (#728639). oklch(59% 0.113 115.4), rgb(123, 133, 44).

Aa

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

About this color

#7B852C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.113 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.015 away. Black text reads best on it, at 5.23:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.23:1
White text4.01:1

Values

HEX#7B852C
RGBrgb(123, 133, 44)
HSLhsl(67, 50%, 35%)
OKLCHoklch(59% 0.113 115.4)

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 #7B852C 4.01:1 AA large text Lc -72.8 Content text, not long reading
Black text on #7B852C 5.23:1 AA Lc 36.8 Non-text elements, placeholder text
#7B852C text on white 4.01:1 AA large text Lc 67.3 Content text, not long reading
#7B852C text on black 5.23:1 AA Lc -34.3 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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC7

    oklch(88.6% 0.029 115.7)

  4. Step 300

    300

    #BFC5A0

    oklch(80.9% 0.051 115)

  5. Step 400

    400

    #9EA76C

    oklch(70.7% 0.081 115.6)

  6. Step 500

    500

    #879142

    oklch(63.1% 0.104 115.4)

  7. Step 600

    600 (this color)

    #7B852C

    oklch(59% 0.113 115.4)

  8. Step 700

    700

    #5F6710

    oklch(49.1% 0.105 115.1)

  9. Step 800

    800

    #4D5412

    oklch(42.6% 0.087 115.5)

  10. Step 900

    900

    #404617

    oklch(37.8% 0.068 115.9)

  11. Step 950

    950

    #26290F

    oklch(27.1% 0.043 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B852C 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)#8E7E200.032
Deuteranopia (no green cones)#8E80320.033
Tritanopia (no blue cones)#837D730.099
Achromatopsia (no color)#7F7F7F0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B852C

    #7B852C

    oklch(59% 0.113 115.4)

  • #836FB9

    #836FB9

    oklch(59.1% 0.112 295.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B852C

    #7B852C

    oklch(59% 0.113 115.4)

  • #9C771A

    #9C771A

    oklch(59% 0.113 84.8)

  • #4E8F52

    #4E8F52

    oklch(59.1% 0.113 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #7B852C

    #7B852C

    oklch(59% 0.113 115.4)

  • #5D7BC0

    #5D7BC0

    oklch(59.1% 0.112 265.3)

  • #9F64A2

    #9F64A2

    oklch(59% 0.114 325.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B852C

    #7B852C

    oklch(59% 0.113 115.4)

  • #2687B7

    #2687B7

    oklch(59.1% 0.113 235.5)

  • #B15F80

    #B15F80

    oklch(59% 0.113 355.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B852C

    #7B852C

    oklch(59% 0.113 115.4)

  • #008E9A

    #008E9A

    oklch(59% 0.101 205.3)

  • #836FB9

    #836FB9

    oklch(59.1% 0.112 295.2)

  • #B7605A

    #B7605A

    oklch(59% 0.113 25.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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