#8F7E2E

Closest named color: Hazel (#8E7618). oklch(59.3% 0.101 97.2), rgb(143, 126, 46).

Aa

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

About this color

#8F7E2E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.101 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.023 away. Black text reads best on it, at 5.19:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.19:1
White text4.04:1

Values

HEX#8F7E2E
RGBrgb(143, 126, 46)
HSLhsl(49, 51%, 37%)
OKLCHoklch(59.3% 0.101 97.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 #8F7E2E 4.04:1 AA large text Lc -73.1 Content text, not long reading
Black text on #8F7E2E 5.19:1 AA Lc 36.5 Non-text elements, placeholder text
#8F7E2E text on white 4.04:1 AA large text Lc 67.6 Content text, not long reading
#8F7E2E text on black 5.19:1 AA Lc -34.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 600.

  1. Step 50

    50

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C1A0

    oklch(80.8% 0.045 97.4)

  5. Step 400

    400

    #ADA16C

    oklch(70.7% 0.073 96.9)

  6. Step 500

    500

    #998A43

    oklch(63.2% 0.093 97.6)

  7. Step 600

    600 (this color)

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  8. Step 700

    700

    #706012

    oklch(49.1% 0.094 96.7)

  9. Step 800

    800

    #5B4F13

    oklch(42.8% 0.078 97.5)

  10. Step 900

    900

    #4B4218

    oklch(37.9% 0.061 97.3)

  11. Step 950

    950

    #2C260F

    oklch(26.9% 0.038 95)

Export this scale for Tailwind in the Tailwind colors tool

#8F7E2E 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)#8A7B240.014
Deuteranopia (no green cones)#8F81320.008
Tritanopia (no blue cones)#9A756D0.092
Achromatopsia (no color)#7E7E7E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F7E2E

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  • #6F78BA

    #6F78BA

    oklch(59.3% 0.101 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F7E2E

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  • #A67135

    #A67135

    oklch(59.2% 0.101 66.9)

  • #6E8944

    #6E8944

    oklch(59.3% 0.101 126.8)

Open the analogous palette in the generator

Split complementary

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

  • #8F7E2E

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  • #4883B7

    #4883B7

    oklch(59.3% 0.101 247.1)

  • #8E6DAD

    #8E6DAD

    oklch(59.2% 0.102 307.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F7E2E

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  • #188CA5

    #188CA5

    oklch(59.2% 0.101 217.2)

  • #A46694

    #A46694

    oklch(59.3% 0.1 336.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F7E2E

    #8F7E2E

    oklch(59.3% 0.101 97.2)

  • #0E9188

    #0E9188

    oklch(59.2% 0.101 187)

  • #6F78BA

    #6F78BA

    oklch(59.3% 0.101 276.9)

  • #B16373

    #B16373

    oklch(59.3% 0.102 7.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8F7E2E 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.