#AFC146

Closest named color: Light Olive Green (#A4BE5C). oklch(77.3% 0.148 117.1), rgb(175, 193, 70).

Aa

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

About this color

#AFC146 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.148 and its hue 117°. 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.53:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLight Olive Green (#A4BE5C)
Black text10.53:1
White text1.99:1

Values

HEX#AFC146
RGBrgb(175, 193, 70)
HSLhsl(69, 50%, 52%)
OKLCHoklch(77.3% 0.148 117.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 #AFC146 1.99:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #AFC146 10.53:1 AAA Lc 65.5 Content text, not long reading
#AFC146 text on white 1.99:1 Fails Lc 38.4 Non-text elements, placeholder text
#AFC146 text on black 10.53:1 AAA Lc -63.9 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

    #E7EECE

    oklch(93.5% 0.043 117.3)

  3. Step 200

    200

    #D5E1A3

    oklch(88.6% 0.082 117)

  4. Step 300

    300 (this color)

    #AFC146

    oklch(77.3% 0.148 117.1)

  5. Step 400

    400

    #9AAC00

    oklch(70.6% 0.163 117)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFC146 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)#CEB7360.047
Deuteranopia (no green cones)#CCB84E0.049
Tritanopia (no blue cones)#B9B7A80.128
Achromatopsia (no color)#B8B8B80.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC146

    #AFC146

    oklch(77.3% 0.148 117.1)

  • #BEA3FF

    #BEA3FF

    oklch(77.4% 0.131 296.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC146

    #AFC146

    oklch(77.3% 0.148 117.1)

  • #DEAE29

    #DEAE29

    oklch(77.4% 0.148 86.9)

  • #6FCE7C

    #6FCE7C

    oklch(77.3% 0.147 147)

Open the analogous palette in the generator

Split complementary

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

  • #AFC146

    #AFC146

    oklch(77.3% 0.148 117.1)

  • #95B3FF

    #95B3FF

    oklch(77.4% 0.114 267.2)

  • #E692E6

    #E692E6

    oklch(77.3% 0.147 326.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC146

    #AFC146

    oklch(77.3% 0.148 117.1)

  • #54C1FF

    #54C1FF

    oklch(77.3% 0.133 237.1)

  • #FF8BB6

    #FF8BB6

    oklch(77.4% 0.147 357.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC146

    #AFC146

    oklch(77.3% 0.148 117.1)

  • #00CCE0

    #00CCE0

    oklch(77.3% 0.133 207.3)

  • #BEA3FF

    #BEA3FF

    oklch(77.4% 0.131 296.7)

  • #FF9286

    #FF9286

    oklch(77.3% 0.134 27.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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