#8A8306

Closest named color: Olive (#808000). oklch(59.7% 0.126 105.8), rgb(138, 131, 6).

Aa

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

About this color

#8A8306 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.126 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.019 away. Black text reads best on it, at 5.32:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.32:1
White text3.94:1

Values

HEX#8A8306
RGBrgb(138, 131, 6)
HSLhsl(57, 92%, 28%)
OKLCHoklch(59.7% 0.126 105.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 #8A8306 3.94:1 AA large text Lc -72.1 Content text, not long reading
Black text on #8A8306 5.32:1 AA Lc 37.5 Non-text elements, placeholder text
#8A8306 text on white 3.94:1 AA large text Lc 66.6 Content text, not long reading
#8A8306 text on black 5.32:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DCDBC1

    oklch(88.5% 0.035 105.3)

  4. Step 300

    300

    #C5C496

    oklch(81% 0.062 106.7)

  5. Step 400

    400

    #A9A459

    oklch(70.6% 0.097 105.2)

  6. Step 500

    500 (this color)

    #8A8306

    oklch(59.7% 0.126 105.8)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2805

    oklch(27.1% 0.052 106.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A8306 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)#907E000.016
Deuteranopia (no green cones)#9282170.016
Tritanopia (no blue cones)#95796F0.115
Achromatopsia (no color)#8080800.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8306

    #8A8306

    oklch(59.7% 0.126 105.8)

  • #7A72C6

    #7A72C6

    oklch(59.6% 0.126 286.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8306

    #8A8306

    oklch(59.7% 0.126 105.8)

  • #AA7300

    #AA7300

    oklch(59.8% 0.126 75.7)

  • #5C903F

    #5C903F

    oklch(59.8% 0.126 135.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A8306

    #8A8306

    oklch(59.7% 0.126 105.8)

  • #4980C9

    #4980C9

    oklch(59.6% 0.127 256.1)

  • #9C66B2

    #9C66B2

    oklch(59.7% 0.126 315.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8306

    #8A8306

    oklch(59.7% 0.126 105.8)

  • #008CB3

    #008CB3

    oklch(59.6% 0.114 226.2)

  • #B35E8F

    #B35E8F

    oklch(59.7% 0.125 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8306

    #8A8306

    oklch(59.7% 0.126 105.8)

  • #009293

    #009293

    oklch(59.8% 0.102 195.6)

  • #7A72C6

    #7A72C6

    oklch(59.6% 0.126 286.3)

  • #BE5D66

    #BE5D66

    oklch(59.8% 0.125 15.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A8306.

Similar named colors

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

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