#AFC787

Closest named color: Pale Olive (#B9CC81). oklch(79.6% 0.09 125.1), rgb(175, 199, 135).

Aa

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

About this color

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

Hue familyGreens
Lightnesslight (80%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.34:1
White text1.85:1

Values

HEX#AFC787
RGBrgb(175, 199, 135)
HSLhsl(83, 36%, 65%)
OKLCHoklch(79.6% 0.09 125.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 #AFC787 1.85:1 Fails Lc -39.0 Non-text elements, placeholder text
Black text on #AFC787 11.34:1 AAA Lc 69.0 Content text, not long reading
#AFC787 text on white 1.85:1 Fails Lc 34.8 Non-text elements, placeholder text
#AFC787 text on black 11.34:1 AAA Lc -67.7 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

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E6EDDB

    oklch(93.6% 0.025 124.3)

  3. Step 200

    200

    #D1DFBC

    oklch(88.4% 0.049 125.2)

  4. Step 300

    300 (this color)

    #AFC787

    oklch(79.6% 0.09 125.1)

  5. Step 400

    400

    #8CB041

    oklch(70.8% 0.144 125.2)

  6. Step 500

    500

    #739900

    oklch(63.1% 0.159 125.3)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #415800

    oklch(42.6% 0.107 125.2)

  10. Step 900

    900

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC787 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)#CEBF830.045
Deuteranopia (no green cones)#CABE8A0.044
Tritanopia (no blue cones)#B3C1B60.071
Achromatopsia (no color)#BEBEBE0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC787

    #AFC787

    oklch(79.6% 0.09 125.1)

  • #CAAEEB

    #CAAEEB

    oklch(79.6% 0.09 305.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC787

    #AFC787

    oklch(79.6% 0.09 125.1)

  • #CEBC78

    #CEBC78

    oklch(79.5% 0.09 95.1)

  • #8DCEA3

    #8DCEA3

    oklch(79.6% 0.09 154.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFC787

    #AFC787

    oklch(79.6% 0.09 125.1)

  • #ABB8F7

    #ABB8F7

    oklch(79.5% 0.091 275.1)

  • #E1A7D3

    #E1A7D3

    oklch(79.6% 0.089 335.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC787

    #AFC787

    oklch(79.6% 0.09 125.1)

  • #8BC3F3

    #8BC3F3

    oklch(79.6% 0.09 245.1)

  • #EFA4B4

    #EFA4B4

    oklch(79.6% 0.091 5.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC787

    #AFC787

    oklch(79.6% 0.09 125.1)

  • #73CBE1

    #73CBE1

    oklch(79.5% 0.09 215.8)

  • #CAAEEB

    #CAAEEB

    oklch(79.6% 0.09 305.4)

  • #F0A895

    #F0A895

    oklch(79.6% 0.09 35.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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