#AFC181

Closest named color: Tan Green (#A9BE70). oklch(78.2% 0.088 121.2), rgb(175, 193, 129).

Aa

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

About this color

#AFC181 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.088 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.022 away. Black text reads best on it, at 10.76:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.76:1
White text1.95:1

Values

HEX#AFC181
RGBrgb(175, 193, 129)
HSLhsl(77, 34%, 63%)
OKLCHoklch(78.2% 0.088 121.2)

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 #AFC181 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #AFC181 10.76:1 AAA Lc 66.4 Content text, not long reading
#AFC181 text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#AFC181 text on black 10.76:1 AAA Lc -65.0 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E7EDDA

    oklch(93.6% 0.026 121.2)

  3. Step 200

    200

    #D4DFBB

    oklch(88.6% 0.049 121.2)

  4. Step 300

    300 (this color)

    #AFC181

    oklch(78.2% 0.088 121.2)

  5. Step 400

    400

    #93AD3D

    oklch(70.6% 0.14 121.3)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC181 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)#C9BA7D0.038
Deuteranopia (no green cones)#C6BA840.037
Tritanopia (no blue cones)#B4BBB10.073
Achromatopsia (no color)#BABABA0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC181

    #AFC181

    oklch(78.2% 0.088 121.2)

  • #C1ABE8

    #C1ABE8

    oklch(78.1% 0.088 300.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC181

    #AFC181

    oklch(78.2% 0.088 121.2)

  • #CDB675

    #CDB675

    oklch(78.1% 0.088 90.7)

  • #8EC89B

    #8EC89B

    oklch(78.1% 0.088 150.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFC181

    #AFC181

    oklch(78.2% 0.088 121.2)

  • #A3B5F1

    #A3B5F1

    oklch(78.1% 0.088 271.3)

  • #D9A3D2

    #D9A3D2

    oklch(78% 0.089 330.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC181

    #AFC181

    oklch(78.2% 0.088 121.2)

  • #84BFEB

    #84BFEB

    oklch(78.1% 0.088 241.5)

  • #E8A0B4

    #E8A0B4

    oklch(78.1% 0.089 1.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC181

    #AFC181

    oklch(78.2% 0.088 121.2)

  • #6FC7D8

    #6FC7D8

    oklch(78.1% 0.088 211.5)

  • #C1ABE8

    #C1ABE8

    oklch(78.1% 0.088 300.9)

  • #EBA395

    #EBA395

    oklch(78.2% 0.089 31.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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