#AFD154

Closest named color: Pale Olive Green (#B1D27B). oklch(81.1% 0.156 122.8), rgb(175, 209, 84).

Aa

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

About this color

#AFD154 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.156 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.039 away. Black text reads best on it, at 12.07:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.156)
Temperaturein between
Nearest namePale Olive Green (#B1D27B)
Black text12.07:1
White text1.73:1

Values

HEX#AFD154
RGBrgb(175, 209, 84)
HSLhsl(76, 58%, 57%)
OKLCHoklch(81.1% 0.156 122.8)

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 #AFD154 1.73:1 Fails Lc -35.4 Non-text elements, placeholder text
Black text on #AFD154 12.07:1 AAA Lc 72.3 Content text, not long reading
#AFD154 text on white 1.73:1 Fails Lc 31.5 Non-text elements, placeholder text
#AFD154 text on black 12.07:1 AAA Lc -71.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

    #F3F8E9

    oklch(97.1% 0.02 121.8)

  2. Step 100

    100

    #E4EFCE

    oklch(93.5% 0.045 122.3)

  3. Step 200

    200

    #CEE3A3

    oklch(88.5% 0.087 122.9)

  4. Step 300

    300 (this color)

    #AFD154

    oklch(81.1% 0.156 122.8)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  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

#AFD154 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)#DCC5460.064
Deuteranopia (no green cones)#D8C45C0.066
Tritanopia (no blue cones)#B7C7B60.129
Achromatopsia (no color)#C4C4C40.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFD154

    #AFD154

    oklch(81.1% 0.156 122.8)

  • #D0AFFF

    #D0AFFF

    oklch(81.1% 0.115 302.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFD154

    #AFD154

    oklch(81.1% 0.156 122.8)

  • #E4BD2A

    #E4BD2A

    oklch(81% 0.156 92.6)

  • #65DE8F

    #65DE8F

    oklch(81.1% 0.157 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFD154

    #AFD154

    oklch(81.1% 0.156 122.8)

  • #ACBEFF

    #ACBEFF

    oklch(81.1% 0.094 272.2)

  • #FC99ED

    #FC99ED

    oklch(81.1% 0.157 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFD154

    #AFD154

    oklch(81.1% 0.156 122.8)

  • #84C9FF

    #84C9FF

    oklch(81% 0.104 243.1)

  • #FFA2BA

    #FFA2BA

    oklch(81.2% 0.113 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFD154

    #AFD154

    oklch(81.1% 0.156 122.8)

  • #00D8F7

    #00D8F7

    oklch(81% 0.142 212.9)

  • #D0AFFF

    #D0AFFF

    oklch(81.1% 0.115 302.8)

  • #FFA794

    #FFA794

    oklch(81.1% 0.108 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 #AFD154, closest first.

Similar named colors

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

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