#AFCB6B

Closest named color: Light Moss Green (#A6C875). oklch(80% 0.127 122.7), rgb(175, 203, 107).

Aa

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

About this color

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

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

Values

HEX#AFCB6B
RGBrgb(175, 203, 107)
HSLhsl(78, 48%, 61%)
OKLCHoklch(80% 0.127 122.7)

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 #AFCB6B 1.81:1 Fails Lc -37.8 Non-text elements, placeholder text
Black text on #AFCB6B 11.57:1 AAA Lc 70.1 Content text, not long reading
#AFCB6B text on white 1.81:1 Fails Lc 33.7 Non-text elements, placeholder text
#AFCB6B text on black 11.57:1 AAA Lc -68.9 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

    #F3F8EB

    oklch(97.2% 0.018 124)

  2. Step 100

    100

    #E5EED4

    oklch(93.5% 0.036 122.7)

  3. Step 200

    200

    #D0E1AE

    oklch(88.4% 0.07 122.8)

  4. Step 300

    300 (this color)

    #AFCB6B

    oklch(80% 0.127 122.7)

  5. Step 400

    400

    #8EB000

    oklch(70.6% 0.172 122.4)

  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

#AFCB6B 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)#D5C1630.054
Deuteranopia (no green cones)#D1C0700.055
Tritanopia (no blue cones)#B6C3B50.105
Achromatopsia (no color)#C0C0C00.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCB6B

    #AFCB6B

    oklch(80% 0.127 122.7)

  • #CDAAFF

    #CDAAFF

    oklch(80% 0.123 302.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCB6B

    #AFCB6B

    oklch(80% 0.127 122.7)

  • #DABB54

    #DABB54

    oklch(79.9% 0.127 92.6)

  • #79D596

    #79D596

    oklch(79.9% 0.126 152.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFCB6B

    #AFCB6B

    oklch(80% 0.127 122.7)

  • #A8BAFF

    #A8BAFF

    oklch(80.1% 0.1 272.7)

  • #EE9EE1

    #EE9EE1

    oklch(79.9% 0.127 332.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCB6B

    #AFCB6B

    oklch(80% 0.127 122.7)

  • #7BC6FF

    #7BC6FF

    oklch(80% 0.11 242.7)

  • #FF9CB7

    #FF9CB7

    oklch(80.1% 0.122 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCB6B

    #AFCB6B

    oklch(80% 0.127 122.7)

  • #3BD3EE

    #3BD3EE

    oklch(80.1% 0.127 212.6)

  • #CDAAFF

    #CDAAFF

    oklch(80% 0.123 302.6)

  • #FFA28E

    #FFA28E

    oklch(80.1% 0.115 32.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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