#AFBD4F

Closest named color: Light Olive Green (#A4BE5C). oklch(76.5% 0.135 115.8), rgb(175, 189, 79).

Aa

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

About this color

#AFBD4F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.135 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.016 away. Black text reads best on it, at 10.21:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.21:1
White text2.05:1

Values

HEX#AFBD4F
RGBrgb(175, 189, 79)
HSLhsl(68, 45%, 53%)
OKLCHoklch(76.5% 0.135 115.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 #AFBD4F 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #AFBD4F 10.21:1 AAA Lc 63.9 Content text, not long reading
#AFBD4F text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#AFBD4F text on black 10.21:1 AAA Lc -62.3 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 300.

  1. Step 50

    50

    #F5F7EA

    oklch(97.1% 0.017 113.8)

  2. Step 100

    100

    #E8EED0

    oklch(93.7% 0.04 116.4)

  3. Step 200

    200

    #D6E0A7

    oklch(88.5% 0.076 116.1)

  4. Step 300

    300 (this color)

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  5. Step 400

    400

    #9DAC00

    oklch(70.8% 0.162 115.9)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  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

#AFBD4F 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)#C9B4430.040
Deuteranopia (no green cones)#C8B6560.042
Tritanopia (no blue cones)#B9B3A50.118
Achromatopsia (no color)#B5B5B50.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBD4F

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  • #BAA0FF

    #BAA0FF

    oklch(76.5% 0.135 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBD4F

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  • #D9AC3C

    #D9AC3C

    oklch(76.6% 0.135 86.1)

  • #76CA7D

    #76CA7D

    oklch(76.6% 0.136 145.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFBD4F

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  • #8FB1FF

    #8FB1FF

    oklch(76.6% 0.119 265.7)

  • #DF93E1

    #DF93E1

    oklch(76.5% 0.136 325.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBD4F

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  • #4BBFFD

    #4BBFFD

    oklch(76.5% 0.136 236)

  • #F68CB6

    #F68CB6

    oklch(76.5% 0.136 355.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBD4F

    #AFBD4F

    oklch(76.5% 0.135 115.8)

  • #00CADB

    #00CADB

    oklch(76.6% 0.131 205.5)

  • #BAA0FF

    #BAA0FF

    oklch(76.5% 0.135 295.6)

  • #FD8F85

    #FD8F85

    oklch(76.6% 0.135 26.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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