#8A7229

Closest named color: Hazel (#8E7618). oklch(56.1% 0.095 90.6), rgb(138, 114, 41).

Aa

White text reads best on this color (4.64:1).

About this color

#8A7229 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.095 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.019 away. White text reads best on it, at 4.64:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.51:1
White text4.64:1

Values

HEX#8A7229
RGBrgb(138, 114, 41)
HSLhsl(45, 54%, 35%)
OKLCHoklch(56.1% 0.095 90.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 #8A7229 4.64:1 AA Lc -77.6 Fine for body text
Black text on #8A7229 4.51:1 AA Lc 31.9 Non-text elements, placeholder text
#8A7229 text on white 4.64:1 AA Lc 72.2 Content text, not long reading
#8A7229 text on black 4.51:1 AA Lc -29.5 Dividers and decoration only

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

    #EDEAE1

    oklch(93.7% 0.012 91.5)

  3. Step 200

    200

    #DFD9C8

    oklch(88.5% 0.024 90.8)

  4. Step 300

    300

    #CBC0A2

    oklch(80.9% 0.042 90.3)

  5. Step 400

    400

    #B19F6F

    oklch(70.7% 0.068 89.8)

  6. Step 500

    500

    #9E8747

    oklch(63.1% 0.088 90)

  7. Step 600

    600 (this color)

    #8A7229

    oklch(56.1% 0.095 90.6)

  8. Step 700

    700

    #745E1A

    oklch(49.1% 0.088 90.2)

  9. Step 800

    800

    #5E4D18

    oklch(42.7% 0.074 90.9)

  10. Step 900

    900

    #4D401B

    oklch(37.6% 0.057 90.1)

  11. Step 950

    950

    #2D2611

    oklch(27.1% 0.036 91.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A7229 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)#7F71200.021
Deuteranopia (no green cones)#85772C0.015
Tritanopia (no blue cones)#9569630.086
Achromatopsia (no color)#7474740.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7229

    #8A7229

    oklch(56.1% 0.095 90.6)

  • #5F71AD

    #5F71AD

    oklch(56% 0.096 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7229

    #8A7229

    oklch(56.1% 0.095 90.6)

  • #9D6636

    #9D6636

    oklch(56% 0.095 60)

  • #6D7D39

    #6D7D39

    oklch(56.1% 0.095 120.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7229

    #8A7229

    oklch(56.1% 0.095 90.6)

  • #3A7BA7

    #3A7BA7

    oklch(56% 0.095 241)

  • #7E67A4

    #7E67A4

    oklch(56.1% 0.095 300.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7229

    #8A7229

    oklch(56.1% 0.095 90.6)

  • #0A8394

    #0A8394

    oklch(56% 0.095 210.9)

  • #945F8F

    #945F8F

    oklch(56% 0.096 330.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7229

    #8A7229

    oklch(56.1% 0.095 90.6)

  • #198777

    #198777

    oklch(56.2% 0.096 180)

  • #5F71AD

    #5F71AD

    oklch(56% 0.096 270.4)

  • #A25C72

    #A25C72

    oklch(56.1% 0.095 0.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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