#8A771C

Closest named color: Hazel (#8E7618). oklch(57.1% 0.108 96.6), rgb(138, 119, 28).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.108)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.73:1
White text4.43:1

Values

HEX#8A771C
RGBrgb(138, 119, 28)
HSLhsl(50, 66%, 33%)
OKLCHoklch(57.1% 0.108 96.6)

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 #8A771C 4.43:1 AA large text Lc -76.1 Fine for body text
Black text on #8A771C 4.73:1 AA Lc 33.4 Non-text elements, placeholder text
#8A771C text on white 4.43:1 AA large text Lc 70.6 Content text, not long reading
#8A771C text on black 4.73:1 AA Lc -31.0 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

    #DEDAC6

    oklch(88.6% 0.027 97.6)

  4. Step 300

    300

    #C9C19E

    oklch(80.8% 0.048 96.6)

  5. Step 400

    400

    #AEA168

    oklch(70.7% 0.078 96.9)

  6. Step 500

    500

    #9B893D

    oklch(63.1% 0.099 96.1)

  7. Step 600

    600 (this color)

    #8A771C

    oklch(57.1% 0.108 96.6)

  8. Step 700

    700

    #716003

    oklch(49.1% 0.1 96.9)

  9. Step 800

    800

    #5C4E0B

    oklch(42.6% 0.082 96.2)

  10. Step 900

    900

    #4B4114

    oklch(37.6% 0.064 96.6)

  11. Step 950

    950

    #2C260D

    oklch(26.9% 0.041 96)

Export this scale for Tailwind in the Tailwind colors tool

#8A771C 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)#8474080.016
Deuteranopia (no green cones)#897A220.008
Tritanopia (no blue cones)#966D660.100
Achromatopsia (no color)#7878780.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A771C

    #8A771C

    oklch(57.1% 0.108 96.6)

  • #6771B6

    #6771B6

    oklch(57.1% 0.107 276.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A771C

    #8A771C

    oklch(57.1% 0.108 96.6)

  • #A26A27

    #A26A27

    oklch(57.2% 0.108 66.9)

  • #678338

    #678338

    oklch(57.1% 0.107 126.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A771C

    #8A771C

    oklch(57.1% 0.108 96.6)

  • #3C7DB3

    #3C7DB3

    oklch(57.2% 0.107 246.2)

  • #8866A9

    #8866A9

    oklch(57.1% 0.107 306.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A771C

    #8A771C

    oklch(57.1% 0.108 96.6)

  • #00869E

    #00869E

    oklch(57.1% 0.102 216.2)

  • #9F5E8F

    #9F5E8F

    oklch(57.1% 0.107 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A771C

    #8A771C

    oklch(57.1% 0.108 96.6)

  • #008A81

    #008A81

    oklch(57% 0.1 186.8)

  • #6771B6

    #6771B6

    oklch(57.1% 0.107 276.2)

  • #AC5B6D

    #AC5B6D

    oklch(57.1% 0.107 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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