#AFC280

Closest named color: Tan Green (#A9BE70). oklch(78.4% 0.091 121.6), rgb(175, 194, 128).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.85:1
White text1.93:1

Values

HEX#AFC280
RGBrgb(175, 194, 128)
HSLhsl(77, 35%, 63%)
OKLCHoklch(78.4% 0.091 121.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 #AFC280 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #AFC280 10.85:1 AAA Lc 66.8 Content text, not long reading
#AFC280 text on white 1.93:1 Fails Lc 37.1 Non-text elements, placeholder text
#AFC280 text on black 10.85:1 AAA Lc -65.4 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E7EDDA

    oklch(93.6% 0.026 121.2)

  3. Step 200

    200

    #D3DFBA

    oklch(88.5% 0.051 122.1)

  4. Step 300

    300 (this color)

    #AFC280

    oklch(78.4% 0.091 121.6)

  5. Step 400

    400

    #92AE39

    oklch(70.7% 0.145 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677E00

    oklch(55.5% 0.134 121.5)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC280 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)#CABB7B0.039
Deuteranopia (no green cones)#C7BA830.039
Tritanopia (no blue cones)#B4BCB10.074
Achromatopsia (no color)#BABABA0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC280

    #AFC280

    oklch(78.4% 0.091 121.6)

  • #C3ABEA

    #C3ABEA

    oklch(78.4% 0.092 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC280

    #AFC280

    oklch(78.4% 0.091 121.6)

  • #CEB773

    #CEB773

    oklch(78.4% 0.091 91.4)

  • #8DCA9C

    #8DCA9C

    oklch(78.5% 0.091 151.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFC280

    #AFC280

    oklch(78.4% 0.091 121.6)

  • #A3B6F3

    #A3B6F3

    oklch(78.4% 0.09 270.9)

  • #DBA3D3

    #DBA3D3

    oklch(78.3% 0.091 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC280

    #AFC280

    oklch(78.4% 0.091 121.6)

  • #83C0EE

    #83C0EE

    oklch(78.3% 0.091 241.9)

  • #EAA0B4

    #EAA0B4

    oklch(78.3% 0.091 1.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC280

    #AFC280

    oklch(78.4% 0.091 121.6)

  • #6DC8DA

    #6DC8DA

    oklch(78.3% 0.091 212)

  • #C3ABEA

    #C3ABEA

    oklch(78.4% 0.092 301.8)

  • #EDA395

    #EDA395

    oklch(78.4% 0.091 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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