#AFCB7A

Closest named color: Light Moss Green (#A6C875). oklch(80.2% 0.111 124.4), rgb(175, 203, 122).

Aa

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

About this color

#AFCB7A is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.111 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.016 away. Black text reads best on it, at 11.64:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.64:1
White text1.80:1

Values

HEX#AFCB7A
RGBrgb(175, 203, 122)
HSLhsl(81, 44%, 64%)
OKLCHoklch(80.2% 0.111 124.4)

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 #AFCB7A 1.80:1 Fails Lc -37.5 Non-text elements, placeholder text
Black text on #AFCB7A 11.64:1 AAA Lc 70.4 Content text, not long reading
#AFCB7A text on white 1.80:1 Fails Lc 33.4 Non-text elements, placeholder text
#AFCB7A text on black 11.64:1 AAA Lc -69.2 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

    #E5EED7

    oklch(93.6% 0.032 124.5)

  3. Step 200

    200

    #D0E1B5

    oklch(88.6% 0.061 124.8)

  4. Step 300

    300 (this color)

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  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

#AFCB7A 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)#D3C2740.051
Deuteranopia (no green cones)#CFC17E0.051
Tritanopia (no blue cones)#B4C4B70.089
Achromatopsia (no color)#C1C1C10.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCB7A

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  • #CEADF8

    #CEADF8

    oklch(80.3% 0.109 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCB7A

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  • #D5BE67

    #D5BE67

    oklch(80.3% 0.111 94.9)

  • #82D49E

    #82D49E

    oklch(80.3% 0.112 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFCB7A

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  • #ABBAFF

    #ABBAFF

    oklch(80.3% 0.099 274.5)

  • #EBA3DC

    #EBA3DC

    oklch(80.2% 0.112 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCB7A

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  • #81C6FF

    #81C6FF

    oklch(80.2% 0.107 244.6)

  • #FBA0B6

    #FBA0B6

    oklch(80.3% 0.111 4.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCB7A

    #AFCB7A

    oklch(80.2% 0.111 124.4)

  • #5BD1EA

    #5BD1EA

    oklch(80.3% 0.111 213.9)

  • #CEADF8

    #CEADF8

    oklch(80.3% 0.109 304.2)

  • #FDA48E

    #FDA48E

    oklch(80.2% 0.111 34.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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