#A8B808

Closest named color: Mustard Green (#A8B504). oklch(74.5% 0.169 115.9), rgb(168, 184, 8).

Aa

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

About this color

#A8B808 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.169 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.008 away. Black text reads best on it, at 9.52:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.169)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.52:1
White text2.20:1

Values

HEX#A8B808
RGBrgb(168, 184, 8)
HSLhsl(65, 92%, 38%)
OKLCHoklch(74.5% 0.169 115.9)

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 #A8B808 2.20:1 Fails Lc -48.0 Large or bold text, headings
Black text on #A8B808 9.52:1 AAA Lc 60.8 Content text, not long reading
#A8B808 text on white 2.20:1 Fails Lc 43.2 Non-text elements, placeholder text
#A8B808 text on black 9.52:1 AAA Lc -59.0 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E8EDD6

    oklch(93.6% 0.031 117)

  3. Step 200

    200

    #D7DFB3

    oklch(88.6% 0.059 116)

  4. Step 300

    300

    #BDC979

    oklch(80.8% 0.104 115.8)

  5. Step 400

    400 (this color)

    #A8B808

    oklch(74.5% 0.169 115.9)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707B00

    oklch(55.5% 0.127 115.8)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#A8B808 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)#C6AE000.049
Deuteranopia (no green cones)#C5B0250.049
Tritanopia (no blue cones)#B4AD9C0.147
Achromatopsia (no color)#AFAFAF0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8B808

    #A8B808

    oklch(74.5% 0.169 115.9)

  • #B597FF

    #B597FF

    oklch(74.5% 0.149 295.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8B808

    #A8B808

    oklch(74.5% 0.169 115.9)

  • #D7A400

    #D7A400

    oklch(74.6% 0.153 86.1)

  • #5AC867

    #5AC867

    oklch(74.6% 0.169 145.9)

Open the analogous palette in the generator

Split complementary

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

  • #A8B808

    #A8B808

    oklch(74.5% 0.169 115.9)

  • #85A9FF

    #85A9FF

    oklch(74.4% 0.131 266)

  • #E183E5

    #E183E5

    oklch(74.4% 0.168 325.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8B808

    #A8B808

    oklch(74.5% 0.169 115.9)

  • #21B9FF

    #21B9FF

    oklch(74.4% 0.153 236)

  • #FC7AB0

    #FC7AB0

    oklch(74.5% 0.168 355.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8B808

    #A8B808

    oklch(74.5% 0.169 115.9)

  • #00C2D3

    #00C2D3

    oklch(74.3% 0.127 205.9)

  • #B597FF

    #B597FF

    oklch(74.5% 0.149 295.9)

  • #FF8178

    #FF8178

    oklch(74.4% 0.155 25.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A8B808 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.