#8F771B

Closest named color: Hazel (#8E7618). oklch(57.6% 0.109 93.3), rgb(143, 119, 27).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.82:1
White text4.35:1

Values

HEX#8F771B
RGBrgb(143, 119, 27)
HSLhsl(48, 68%, 33%)
OKLCHoklch(57.6% 0.109 93.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 #8F771B 4.35:1 AA large text Lc -75.5 Fine for body text
Black text on #8F771B 4.82:1 AA Lc 34.1 Non-text elements, placeholder text
#8F771B text on white 4.35:1 AA large text Lc 70.0 Content text, not long reading
#8F771B text on black 4.82:1 AA Lc -31.6 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C5

    oklch(88.5% 0.028 93.1)

  4. Step 300

    300

    #CBC19D

    oklch(81% 0.05 94.3)

  5. Step 400

    400

    #B1A067

    oklch(70.7% 0.078 93.4)

  6. Step 500

    500

    #9E883B

    oklch(63.1% 0.1 93.4)

  7. Step 600

    600 (this color)

    #8F771B

    oklch(57.6% 0.109 93.3)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D08

    oklch(42.7% 0.084 92.5)

  10. Step 900

    900

    #4D4112

    oklch(37.8% 0.066 94.5)

  11. Step 950

    950

    #2D260D

    oklch(27% 0.041 93.9)

Export this scale for Tailwind in the Tailwind colors tool

#8F771B 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)#8575050.021
Deuteranopia (no green cones)#8B7C210.014
Tritanopia (no blue cones)#9B6D660.099
Achromatopsia (no color)#7979790.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F771B

    #8F771B

    oklch(57.6% 0.109 93.3)

  • #6574B9

    #6574B9

    oklch(57.7% 0.108 273.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F771B

    #8F771B

    oklch(57.6% 0.109 93.3)

  • #A6692B

    #A6692B

    oklch(57.6% 0.109 62.7)

  • #6D8335

    #6D8335

    oklch(57.5% 0.108 123)

Open the analogous palette in the generator

Split complementary

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

  • #8F771B

    #8F771B

    oklch(57.6% 0.109 93.3)

  • #377FB4

    #377FB4

    oklch(57.5% 0.109 243.7)

  • #8768AE

    #8768AE

    oklch(57.6% 0.11 303.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F771B

    #8F771B

    oklch(57.6% 0.109 93.3)

  • #00889D

    #00889D

    oklch(57.6% 0.101 213.5)

  • #9F5F94

    #9F5F94

    oklch(57.5% 0.109 333.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F771B

    #8F771B

    oklch(57.6% 0.109 93.3)

  • #008C7F

    #008C7F

    oklch(57.5% 0.102 183.5)

  • #6574B9

    #6574B9

    oklch(57.7% 0.108 273.3)

  • #AD5C72

    #AD5C72

    oklch(57.6% 0.108 3.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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