#8A7F33

Closest named color: Drab (#828344). oklch(59.1% 0.097 101.1), rgb(138, 127, 51).

Aa

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

About this color

#8A7F33 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.097 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.019 away. Black text reads best on it, at 5.16:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.16:1
White text4.06:1

Values

HEX#8A7F33
RGBrgb(138, 127, 51)
HSLhsl(52, 46%, 37%)
OKLCHoklch(59.1% 0.097 101.1)

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 #8A7F33 4.06:1 AA large text Lc -73.3 Content text, not long reading
Black text on #8A7F33 5.16:1 AA Lc 36.3 Non-text elements, placeholder text
#8A7F33 text on white 4.06:1 AA large text Lc 67.8 Content text, not long reading
#8A7F33 text on black 5.16:1 AA Lc -33.9 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C6C2A2

    oklch(80.9% 0.044 101.4)

  5. Step 400

    400

    #AAA26F

    oklch(70.7% 0.07 100.4)

  6. Step 500

    500

    #958B47

    oklch(63.1% 0.09 101.1)

  7. Step 600

    600 (this color)

    #8A7F33

    oklch(59.1% 0.097 101.1)

  8. Step 700

    700

    #6C621A

    oklch(49.2% 0.091 101.2)

  9. Step 800

    800

    #585018

    oklch(42.7% 0.075 101.1)

  10. Step 900

    900

    #48421B

    oklch(37.6% 0.058 100.7)

  11. Step 950

    950

    #2A2711

    oklch(27% 0.036 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7F33 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)#8A7B2A0.011
Deuteranopia (no green cones)#8E80370.008
Tritanopia (no blue cones)#94766F0.090
Achromatopsia (no color)#7E7E7E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7F33

    #8A7F33

    oklch(59.1% 0.097 101.1)

  • #7376B6

    #7376B6

    oklch(59% 0.097 280.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7F33

    #8A7F33

    oklch(59.1% 0.097 101.1)

  • #A27336

    #A27336

    oklch(59.1% 0.098 71)

  • #69894A

    #69894A

    oklch(59% 0.097 130.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A7F33

    #8A7F33

    oklch(59.1% 0.097 101.1)

  • #4F81B6

    #4F81B6

    oklch(59.1% 0.098 251.1)

  • #906CA8

    #906CA8

    oklch(59% 0.098 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7F33

    #8A7F33

    oklch(59.1% 0.097 101.1)

  • #268AA6

    #268AA6

    oklch(59% 0.097 221.2)

  • #A5668F

    #A5668F

    oklch(59.2% 0.097 341.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7F33

    #8A7F33

    oklch(59.1% 0.097 101.1)

  • #16908B

    #16908B

    oklch(59.2% 0.098 190.4)

  • #7376B6

    #7376B6

    oklch(59% 0.097 280.9)

  • #AF646F

    #AF646F

    oklch(59.1% 0.097 11.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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