#AFC455

Closest named color: Light Olive Green (#A4BE5C). oklch(78.2% 0.139 118.7), rgb(175, 196, 85).

Aa

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

About this color

#AFC455 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.139 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.024 away. Black text reads best on it, at 10.84:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.84:1
White text1.93:1

Values

HEX#AFC455
RGBrgb(175, 196, 85)
HSLhsl(71, 48%, 55%)
OKLCHoklch(78.2% 0.139 118.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 #AFC455 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #AFC455 10.84:1 AAA Lc 66.9 Content text, not long reading
#AFC455 text on white 1.93:1 Fails Lc 37.0 Non-text elements, placeholder text
#AFC455 text on black 10.84: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

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E7EED0

    oklch(93.6% 0.04 117.9)

  3. Step 200

    200

    #D3E1A7

    oklch(88.5% 0.078 119)

  4. Step 300

    300 (this color)

    #AFC455

    oklch(78.2% 0.139 118.7)

  5. Step 400

    400

    #97AE00

    oklch(70.8% 0.166 118.8)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFC455 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)#D0BA490.049
Deuteranopia (no green cones)#CDBB5C0.049
Tritanopia (no blue cones)#B8BAAC0.119
Achromatopsia (no color)#BABABA0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC455

    #AFC455

    oklch(78.2% 0.139 118.7)

  • #C3A5FF

    #C3A5FF

    oklch(78.2% 0.129 298.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC455

    #AFC455

    oklch(78.2% 0.139 118.7)

  • #DCB23D

    #DCB23D

    oklch(78.1% 0.139 88.4)

  • #73D085

    #73D085

    oklch(78.1% 0.139 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFC455

    #AFC455

    oklch(78.2% 0.139 118.7)

  • #9BB5FF

    #9BB5FF

    oklch(78.2% 0.11 268.9)

  • #E896E4

    #E896E4

    oklch(78.1% 0.14 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC455

    #AFC455

    oklch(78.2% 0.139 118.7)

  • #62C3FF

    #62C3FF

    oklch(78.2% 0.125 238.4)

  • #FE90B6

    #FE90B6

    oklch(78.1% 0.139 358.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC455

    #AFC455

    oklch(78.2% 0.139 118.7)

  • #00CFE6

    #00CFE6

    oklch(78.2% 0.135 208.9)

  • #C3A5FF

    #C3A5FF

    oklch(78.2% 0.129 298.7)

  • #FF9789

    #FF9789

    oklch(78.2% 0.127 28.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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