#AFB91E

Closest named color: Mustard Green (#A8B504). oklch(75.3% 0.162 113.7), rgb(175, 185, 30).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.162)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.78:1
White text2.14:1

Values

HEX#AFB91E
RGBrgb(175, 185, 30)
HSLhsl(64, 72%, 42%)
OKLCHoklch(75.3% 0.162 113.7)

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 #AFB91E 2.14:1 Fails Lc -46.7 Large or bold text, headings
Black text on #AFB91E 9.78:1 AAA Lc 62.0 Content text, not long reading
#AFB91E text on white 2.14:1 Fails Lc 42.0 Non-text elements, placeholder text
#AFB91E text on black 9.78:1 AAA Lc -60.2 Content text, not long reading

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

    #E9ECD6

    oklch(93.5% 0.029 113.3)

  3. Step 200

    200

    #D8DEB4

    oklch(88.5% 0.056 114.2)

  4. Step 300

    300

    #C0C87A

    oklch(80.9% 0.101 113.5)

  5. Step 400

    400 (this color)

    #AFB91E

    oklch(75.3% 0.162 113.7)

  6. Step 500

    500

    #8A9200

    oklch(63.2% 0.142 113.6)

  7. Step 600

    600

    #737A00

    oklch(55.5% 0.124 113.7)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB91E 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)#C7B0000.039
Deuteranopia (no green cones)#C7B22F0.042
Tritanopia (no blue cones)#BBAD9E0.144
Achromatopsia (no color)#B1B1B10.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB91E

    #AFB91E

    oklch(75.3% 0.162 113.7)

  • #B49CFF

    #B49CFF

    oklch(75.3% 0.141 293.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB91E

    #AFB91E

    oklch(75.3% 0.162 113.7)

  • #DDA400

    #DDA400

    oklch(75.2% 0.155 83.5)

  • #68C968

    #68C968

    oklch(75.4% 0.163 143.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFB91E

    #AFB91E

    oklch(75.3% 0.162 113.7)

  • #85ADFF

    #85ADFF

    oklch(75.2% 0.127 263.8)

  • #E089E9

    #E089E9

    oklch(75.4% 0.161 323.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB91E

    #AFB91E

    oklch(75.3% 0.162 113.7)

  • #1FBDFF

    #1FBDFF

    oklch(75.3% 0.151 233.7)

  • #FB7FB6

    #FB7FB6

    oklch(75.2% 0.162 353.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB91E

    #AFB91E

    oklch(75.3% 0.162 113.7)

  • #00C6D4

    #00C6D4

    oklch(75.3% 0.128 203.8)

  • #B49CFF

    #B49CFF

    oklch(75.3% 0.141 293.9)

  • #FF8681

    #FF8681

    oklch(75.4% 0.148 23.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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