#AFCA7D

Closest named color: Pale Olive (#B9CC81). oklch(80.1% 0.106 124.5), rgb(175, 202, 125).

Aa

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

About this color

#AFCA7D is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.106 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.016 away. Black text reads best on it, at 11.56:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.56:1
White text1.81:1

Values

HEX#AFCA7D
RGBrgb(175, 202, 125)
HSLhsl(81, 42%, 64%)
OKLCHoklch(80.1% 0.106 124.5)

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 #AFCA7D 1.81:1 Fails Lc -37.9 Non-text elements, placeholder text
Black text on #AFCA7D 11.56:1 AAA Lc 70.1 Content text, not long reading
#AFCA7D text on white 1.81:1 Fails Lc 33.8 Non-text elements, placeholder text
#AFCA7D text on black 11.56:1 AAA Lc -68.8 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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED8

    oklch(93.6% 0.031 125.2)

  3. Step 200

    200

    #D0E0B6

    oklch(88.4% 0.059 124.5)

  4. Step 300

    300 (this color)

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  5. Step 400

    400

    #8AB11A

    oklch(70.6% 0.169 124.4)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFCA7D 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)#D2C1770.050
Deuteranopia (no green cones)#CEC0810.050
Tritanopia (no blue cones)#B4C3B70.086
Achromatopsia (no color)#C0C0C00.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA7D

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  • #CDADF5

    #CDADF5

    oklch(80.1% 0.105 304.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA7D

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  • #D4BD6B

    #D4BD6B

    oklch(80.1% 0.106 94.1)

  • #85D29F

    #85D29F

    oklch(80% 0.106 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA7D

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  • #AAB9FF

    #AAB9FF

    oklch(80% 0.101 274.6)

  • #E8A4DA

    #E8A4DA

    oklch(80% 0.106 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA7D

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  • #81C5FE

    #81C5FE

    oklch(80% 0.107 245)

  • #F8A1B5

    #F8A1B5

    oklch(80.1% 0.106 4.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA7D

    #AFCA7D

    oklch(80.1% 0.106 124.5)

  • #61CFE8

    #61CFE8

    oklch(80% 0.106 214.9)

  • #CDADF5

    #CDADF5

    oklch(80.1% 0.105 304.5)

  • #FAA590

    #FAA590

    oklch(80.1% 0.106 34.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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