#AFC286

Closest named color: Tan Green (#A9BE70). oklch(78.5% 0.083 122.6), rgb(175, 194, 134).

Aa

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

About this color

#AFC286 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.083 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.028 away. Black text reads best on it, at 10.88:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.88:1
White text1.92:1

Values

HEX#AFC286
RGBrgb(175, 194, 134)
HSLhsl(79, 33%, 64%)
OKLCHoklch(78.5% 0.083 122.6)

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 #AFC286 1.92:1 Fails Lc -41.3 Non-text elements, placeholder text
Black text on #AFC286 10.88:1 AAA Lc 67.0 Content text, not long reading
#AFC286 text on white 1.92:1 Fails Lc 36.9 Non-text elements, placeholder text
#AFC286 text on black 10.88:1 AAA Lc -65.5 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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E7EDDB

    oklch(93.7% 0.025 121.9)

  3. Step 200

    200

    #D3DFBD

    oklch(88.6% 0.047 123.2)

  4. Step 300

    300 (this color)

    #AFC286

    oklch(78.5% 0.083 122.6)

  5. Step 400

    400

    #92AE47

    oklch(70.8% 0.134 122.6)

  6. Step 500

    500

    #799700

    oklch(63% 0.154 122.6)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFC286 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)#C9BB820.038
Deuteranopia (no green cones)#C6BB890.037
Tritanopia (no blue cones)#B4BCB20.068
Achromatopsia (no color)#BBBBBB0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC286

    #AFC286

    oklch(78.5% 0.083 122.6)

  • #C3ACE6

    #C3ACE6

    oklch(78.4% 0.085 302.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC286

    #AFC286

    oklch(78.5% 0.083 122.6)

  • #CBB87A

    #CBB87A

    oklch(78.4% 0.084 93)

  • #90C99F

    #90C99F

    oklch(78.5% 0.084 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFC286

    #AFC286

    oklch(78.5% 0.083 122.6)

  • #A6B6EF

    #A6B6EF

    oklch(78.4% 0.083 272.2)

  • #DAA5D0

    #DAA5D0

    oklch(78.4% 0.084 333.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC286

    #AFC286

    oklch(78.5% 0.083 122.6)

  • #89C0EA

    #89C0EA

    oklch(78.5% 0.083 242)

  • #E7A3B4

    #E7A3B4

    oklch(78.5% 0.083 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC286

    #AFC286

    oklch(78.5% 0.083 122.6)

  • #76C7D8

    #76C7D8

    oklch(78.4% 0.083 212.6)

  • #C3ACE6

    #C3ACE6

    oklch(78.4% 0.085 302.6)

  • #E9A697

    #E9A697

    oklch(78.5% 0.083 33)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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