#AFC08D

Closest named color: Tan Green (#A9BE70). oklch(78.2% 0.072 123), rgb(175, 192, 141).

Aa

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

About this color

#AFC08D is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.072 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.037 away. Black text reads best on it, at 10.74:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.74:1
White text1.95:1

Values

HEX#AFC08D
RGBrgb(175, 192, 141)
HSLhsl(80, 29%, 65%)
OKLCHoklch(78.2% 0.072 123)

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 #AFC08D 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #AFC08D 10.74:1 AAA Lc 66.3 Content text, not long reading
#AFC08D text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#AFC08D text on black 10.74:1 AAA Lc -64.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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDD

    oklch(93.5% 0.021 121.8)

  3. Step 200

    200

    #D4DEC1

    oklch(88.5% 0.04 122.7)

  4. Step 300

    300 (this color)

    #AFC08D

    oklch(78.2% 0.072 123)

  5. Step 400

    400

    #93AC58

    oklch(70.6% 0.114 123)

  6. Step 500

    500

    #799719

    oklch(63.1% 0.147 123.1)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B04

    oklch(27% 0.061 123)

Export this scale for Tailwind in the Tailwind colors tool

#AFC08D 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)#C6BA8A0.033
Deuteranopia (no green cones)#C4B98F0.034
Tritanopia (no blue cones)#B3BBB20.058
Achromatopsia (no color)#B9B9B90.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC08D

    #AFC08D

    oklch(78.2% 0.072 123)

  • #C1ADDE

    #C1ADDE

    oklch(78.1% 0.072 303.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC08D

    #AFC08D

    oklch(78.2% 0.072 123)

  • #C8B783

    #C8B783

    oklch(78.1% 0.072 92.1)

  • #95C6A2

    #95C6A2

    oklch(78.2% 0.073 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFC08D

    #AFC08D

    oklch(78.2% 0.072 123)

  • #A8B6E7

    #A8B6E7

    oklch(78.3% 0.072 272.2)

  • #D5A7CC

    #D5A7CC

    oklch(78.2% 0.073 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC08D

    #AFC08D

    oklch(78.2% 0.072 123)

  • #90BEE3

    #90BEE3

    oklch(78.2% 0.072 243.1)

  • #E0A5B3

    #E0A5B3

    oklch(78.1% 0.072 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC08D

    #AFC08D

    oklch(78.2% 0.072 123)

  • #80C4D3

    #80C4D3

    oklch(78% 0.072 213.1)

  • #C1ADDE

    #C1ADDE

    oklch(78.1% 0.072 303.4)

  • #E2A89B

    #E2A89B

    oklch(78.2% 0.071 33)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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