#AFC262

Closest named color: Light Olive (#ACBF69). oklch(77.9% 0.124 118.6), rgb(175, 194, 98).

Aa

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

About this color

#AFC262 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.124 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive (#ACBF69), ΔE 0.013 away. Black text reads best on it, at 10.71:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameLight Olive (#ACBF69)
Black text10.71:1
White text1.95:1

Values

HEX#AFC262
RGBrgb(175, 194, 98)
HSLhsl(72, 44%, 57%)
OKLCHoklch(77.9% 0.124 118.6)

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 #AFC262 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #AFC262 10.71:1 AAA Lc 66.2 Content text, not long reading
#AFC262 text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#AFC262 text on black 10.71:1 AAA Lc -64.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

    #F4F7EB

    oklch(97.1% 0.016 118.1)

  2. Step 100

    100

    #E7EED3

    oklch(93.7% 0.036 118.9)

  3. Step 200

    200

    #D4E0AD

    oklch(88.5% 0.069 118.6)

  4. Step 300

    300 (this color)

    #AFC262

    oklch(77.9% 0.124 118.6)

  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

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFC262 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)#CDB9590.045
Deuteranopia (no green cones)#CBBA670.045
Tritanopia (no blue cones)#B7B9AC0.106
Achromatopsia (no color)#B9B9B90.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC262

    #AFC262

    oklch(77.9% 0.124 118.6)

  • #C1A5FB

    #C1A5FB

    oklch(77.8% 0.123 298.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC262

    #AFC262

    oklch(77.9% 0.124 118.6)

  • #D7B250

    #D7B250

    oklch(77.8% 0.124 88.5)

  • #7CCD8A

    #7CCD8A

    oklch(77.9% 0.124 148.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFC262

    #AFC262

    oklch(77.9% 0.124 118.6)

  • #99B4FF

    #99B4FF

    oklch(77.9% 0.112 268.6)

  • #E29ADE

    #E29ADE

    oklch(77.9% 0.123 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC262

    #AFC262

    oklch(77.9% 0.124 118.6)

  • #63C2FD

    #63C2FD

    oklch(78% 0.123 238.4)

  • #F794B6

    #F794B6

    oklch(77.9% 0.125 358.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC262

    #AFC262

    oklch(77.9% 0.124 118.6)

  • #33CCE1

    #33CCE1

    oklch(77.8% 0.124 209)

  • #C1A5FB

    #C1A5FB

    oklch(77.8% 0.123 298.5)

  • #FC9789

    #FC9789

    oklch(77.8% 0.124 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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