#AFC796

Closest named color: Pale Olive (#B9CC81). oklch(79.9% 0.072 129.1), rgb(175, 199, 150).

Aa

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

About this color

#AFC796 is a light, moderately saturated green. In OKLCH its lightness is 80%, its chroma 0.072 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.035 away. Black text reads best on it, at 11.43:1.

Hue familyGreens
Lightnesslight (80%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.43:1
White text1.83:1

Values

HEX#AFC796
RGBrgb(175, 199, 150)
HSLhsl(89, 30%, 68%)
OKLCHoklch(79.9% 0.072 129.1)

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 #AFC796 1.83:1 Fails Lc -38.6 Non-text elements, placeholder text
Black text on #AFC796 11.43:1 AAA Lc 69.4 Content text, not long reading
#AFC796 text on white 1.83:1 Fails Lc 34.4 Non-text elements, placeholder text
#AFC796 text on black 11.43:1 AAA Lc -68.1 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E5EDDE

    oklch(93.6% 0.022 130)

  3. Step 200

    200

    #D1DFC3

    oklch(88.6% 0.041 129)

  4. Step 300

    300 (this color)

    #AFC796

    oklch(79.9% 0.072 129.1)

  5. Step 400

    400

    #8AAF5F

    oklch(70.8% 0.115 129.3)

  6. Step 500

    500

    #6D9A2B

    oklch(63.2% 0.147 129.2)

  7. Step 600

    600

    #578300

    oklch(55.6% 0.148 129.3)

  8. Step 700

    700

    #496E00

    oklch(49.1% 0.13 129)

  9. Step 800

    800

    #3B5A00

    oklch(42.7% 0.113 129)

  10. Step 900

    900

    #314B06

    oklch(37.8% 0.096 129.3)

  11. Step 950

    950

    #1D2C08

    oklch(27% 0.06 129.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFC796 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)#CCC0930.041
Deuteranopia (no green cones)#C8BF980.039
Tritanopia (no blue cones)#B1C3BA0.054
Achromatopsia (no color)#BFBFBF0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC796

    #AFC796

    oklch(79.9% 0.072 129.1)

  • #CBB1E1

    #CBB1E1

    oklch(79.8% 0.072 309.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC796

    #AFC796

    oklch(79.9% 0.072 129.1)

  • #C8BF89

    #C8BF89

    oklch(79.9% 0.072 99.8)

  • #96CCAD

    #96CCAD

    oklch(79.9% 0.071 159.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFC796

    #AFC796

    oklch(79.9% 0.072 129.1)

  • #B3B9EC

    #B3B9EC

    oklch(79.9% 0.072 279.4)

  • #DDACCD

    #DDACCD

    oklch(79.9% 0.072 338.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC796

    #AFC796

    oklch(79.9% 0.072 129.1)

  • #9AC2EA

    #9AC2EA

    oklch(79.9% 0.071 248.7)

  • #E7ABB4

    #E7ABB4

    oklch(79.9% 0.071 8.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC796

    #AFC796

    oklch(79.9% 0.072 129.1)

  • #88C9DD

    #88C9DD

    oklch(79.9% 0.072 219.2)

  • #CBB1E1

    #CBB1E1

    oklch(79.8% 0.072 309.2)

  • #E7AE9B

    #E7AE9B

    oklch(79.9% 0.072 39.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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