#8A782C

Closest named color: Hazel (#8E7618). oklch(57.4% 0.097 95.8), rgb(138, 120, 44).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.80:1
White text4.37:1

Values

HEX#8A782C
RGBrgb(138, 120, 44)
HSLhsl(49, 52%, 36%)
OKLCHoklch(57.4% 0.097 95.8)

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 #8A782C 4.37:1 AA large text Lc -75.7 Fine for body text
Black text on #8A782C 4.80:1 AA Lc 33.9 Non-text elements, placeholder text
#8A782C text on white 4.37:1 AA large text Lc 70.2 Content text, not long reading
#8A782C text on black 4.80:1 AA Lc -31.5 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

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DED9C8

    oklch(88.5% 0.024 93.4)

  4. Step 300

    300

    #C9C1A1

    oklch(80.9% 0.044 95.6)

  5. Step 400

    400

    #AEA16E

    oklch(70.8% 0.07 95.5)

  6. Step 500

    500

    #9A8946

    oklch(63.1% 0.09 95.4)

  7. Step 600

    600 (this color)

    #8A782C

    oklch(57.4% 0.097 95.8)

  8. Step 700

    700

    #706018

    oklch(49.1% 0.09 96)

  9. Step 800

    800

    #5B4E17

    oklch(42.6% 0.074 95.6)

  10. Step 900

    900

    #4B411A

    oklch(37.6% 0.058 95.1)

  11. Step 950

    950

    #2C2610

    oklch(26.9% 0.037 94.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A782C 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)#8475230.015
Deuteranopia (no green cones)#897B300.008
Tritanopia (no blue cones)#956F680.089
Achromatopsia (no color)#7979790.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A782C

    #8A782C

    oklch(57.4% 0.097 95.8)

  • #6973B2

    #6973B2

    oklch(57.4% 0.098 276)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A782C

    #8A782C

    oklch(57.4% 0.097 95.8)

  • #A06C34

    #A06C34

    oklch(57.5% 0.098 65.6)

  • #6B8340

    #6B8340

    oklch(57.5% 0.097 125.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A782C

    #8A782C

    oklch(57.4% 0.097 95.8)

  • #437EAF

    #437EAF

    oklch(57.5% 0.098 245.7)

  • #8769A6

    #8769A6

    oklch(57.4% 0.097 306.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A782C

    #8A782C

    oklch(57.4% 0.097 95.8)

  • #16879D

    #16879D

    oklch(57.6% 0.097 215.3)

  • #9C628F

    #9C628F

    oklch(57.5% 0.097 335.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A782C

    #8A782C

    oklch(57.4% 0.097 95.8)

  • #128B81

    #128B81

    oklch(57.5% 0.097 185.8)

  • #6973B2

    #6973B2

    oklch(57.4% 0.098 276)

  • #A95F70

    #A95F70

    oklch(57.5% 0.098 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 #8A782C, closest first.

Similar named colors

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

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