#8F7A19

Closest named color: Hazel (#8E7618). oklch(58.3% 0.112 95.9), rgb(143, 122, 25).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.96:1
White text4.22:1

Values

HEX#8F7A19
RGBrgb(143, 122, 25)
HSLhsl(49, 70%, 33%)
OKLCHoklch(58.3% 0.112 95.9)

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 #8F7A19 4.22:1 AA large text Lc -74.6 Content text, not long reading
Black text on #8F7A19 4.96:1 AA Lc 35.0 Non-text elements, placeholder text
#8F7A19 text on white 4.22:1 AA large text Lc 69.1 Content text, not long reading
#8F7A19 text on black 4.96:1 AA Lc -32.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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DED9C5

    oklch(88.4% 0.027 95.4)

  4. Step 300

    300

    #CAC19C

    oklch(80.9% 0.051 95.9)

  5. Step 400

    400

    #AFA165

    oklch(70.7% 0.081 96.6)

  6. Step 500

    500

    #9C8938

    oklch(63.1% 0.103 96.1)

  7. Step 600

    600 (this color)

    #8F7A19

    oklch(58.3% 0.112 95.9)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E04

    oklch(42.7% 0.086 95.9)

  10. Step 900

    900

    #4C4111

    oklch(37.7% 0.067 96)

  11. Step 950

    950

    #2D260C

    oklch(27% 0.042 94.4)

Export this scale for Tailwind in the Tailwind colors tool

#8F7A19 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)#8877000.017
Deuteranopia (no green cones)#8D7E200.011
Tritanopia (no blue cones)#9B70680.102
Achromatopsia (no color)#7B7B7B0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F7A19

    #8F7A19

    oklch(58.3% 0.112 95.9)

  • #6974BD

    #6974BD

    oklch(58.2% 0.113 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F7A19

    #8F7A19

    oklch(58.3% 0.112 95.9)

  • #A76C27

    #A76C27

    oklch(58.2% 0.111 66.1)

  • #6B8737

    #6B8737

    oklch(58.4% 0.112 125.9)

Open the analogous palette in the generator

Split complementary

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

  • #8F7A19

    #8F7A19

    oklch(58.3% 0.112 95.9)

  • #3B80B9

    #3B80B9

    oklch(58.1% 0.112 246.3)

  • #8B69AF

    #8B69AF

    oklch(58.3% 0.11 305.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F7A19

    #8F7A19

    oklch(58.3% 0.112 95.9)

  • #008AA2

    #008AA2

    oklch(58.3% 0.103 215.7)

  • #A46094

    #A46094

    oklch(58.3% 0.111 336.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F7A19

    #8F7A19

    oklch(58.3% 0.112 95.9)

  • #008E84

    #008E84

    oklch(58.2% 0.102 186.1)

  • #6974BD

    #6974BD

    oklch(58.2% 0.113 275.8)

  • #B15D71

    #B15D71

    oklch(58.3% 0.111 5.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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