#AFC450

Closest named color: Light Olive Green (#A4BE5C). oklch(78.1% 0.143 118.5), rgb(175, 196, 80).

Aa

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

About this color

#AFC450 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive Green (#A4BE5C), ΔE 0.026 away. Black text reads best on it, at 10.83:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.83:1
White text1.93:1

Values

HEX#AFC450
RGBrgb(175, 196, 80)
HSLhsl(71, 50%, 54%)
OKLCHoklch(78.1% 0.143 118.5)

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 #AFC450 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #AFC450 10.83:1 AAA Lc 66.8 Content text, not long reading
#AFC450 text on white 1.93:1 Fails Lc 37.1 Non-text elements, placeholder text
#AFC450 text on black 10.83: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

    #F4F7E9

    oklch(97% 0.019 116.6)

  2. Step 100

    100

    #E7EECF

    oklch(93.6% 0.042 117.5)

  3. Step 200

    200

    #D3E1A5

    oklch(88.4% 0.08 118.7)

  4. Step 300

    300 (this color)

    #AFC450

    oklch(78.1% 0.143 118.5)

  5. Step 400

    400

    #97AD00

    oklch(70.6% 0.165 118.5)

  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

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFC450 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)#D0BA430.049
Deuteranopia (no green cones)#CEBB570.051
Tritanopia (no blue cones)#B8BAAB0.122
Achromatopsia (no color)#BABABA0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC450

    #AFC450

    oklch(78.1% 0.143 118.5)

  • #C2A5FF

    #C2A5FF

    oklch(78.1% 0.129 298.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC450

    #AFC450

    oklch(78.1% 0.143 118.5)

  • #DDB235

    #DDB235

    oklch(78.1% 0.143 88.8)

  • #71D183

    #71D183

    oklch(78.2% 0.143 148.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFC450

    #AFC450

    oklch(78.1% 0.143 118.5)

  • #9AB5FF

    #9AB5FF

    oklch(78.1% 0.11 268.4)

  • #E995E5

    #E995E5

    oklch(78.1% 0.143 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC450

    #AFC450

    oklch(78.1% 0.143 118.5)

  • #61C3FF

    #61C3FF

    oklch(78.2% 0.126 238.2)

  • #FF8FB7

    #FF8FB7

    oklch(78.1% 0.141 358.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC450

    #AFC450

    oklch(78.1% 0.143 118.5)

  • #00CFE5

    #00CFE5

    oklch(78.2% 0.135 208.3)

  • #C2A5FF

    #C2A5FF

    oklch(78.1% 0.129 298.2)

  • #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 #AFC450, closest first.

Similar named colors

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

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