#AFC489

Closest named color: Pale Olive (#B9CC81). oklch(79% 0.083 124.2), rgb(175, 196, 137).

Aa

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

About this color

#AFC489 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.083 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.030 away. Black text reads best on it, at 11.07:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.07:1
White text1.89:1

Values

HEX#AFC489
RGBrgb(175, 196, 137)
HSLhsl(81, 33%, 65%)
OKLCHoklch(79% 0.083 124.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 #AFC489 1.89:1 Fails Lc -40.3 Non-text elements, placeholder text
Black text on #AFC489 11.07:1 AAA Lc 67.9 Content text, not long reading
#AFC489 text on white 1.89:1 Fails Lc 36.0 Non-text elements, placeholder text
#AFC489 text on black 11.07:1 AAA Lc -66.5 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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDC

    oklch(93.6% 0.024 125.2)

  3. Step 200

    200

    #D2DFBE

    oklch(88.5% 0.046 124.9)

  4. Step 300

    300 (this color)

    #AFC489

    oklch(79% 0.083 124.2)

  5. Step 400

    400

    #8FAE4A

    oklch(70.6% 0.132 124.2)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFC489 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)#CBBD850.040
Deuteranopia (no green cones)#C8BC8C0.040
Tritanopia (no blue cones)#B3BEB50.068
Achromatopsia (no color)#BCBCBC0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC489

    #AFC489

    oklch(79% 0.083 124.2)

  • #C6AEE6

    #C6AEE6

    oklch(79% 0.082 304.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC489

    #AFC489

    oklch(79% 0.083 124.2)

  • #CCBA7C

    #CCBA7C

    oklch(79% 0.083 93.8)

  • #90CBA3

    #90CBA3

    oklch(79.1% 0.083 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFC489

    #AFC489

    oklch(79% 0.083 124.2)

  • #AAB7F0

    #AAB7F0

    oklch(79% 0.083 274.4)

  • #DCA7D0

    #DCA7D0

    oklch(79% 0.082 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC489

    #AFC489

    oklch(79% 0.083 124.2)

  • #8DC1EC

    #8DC1EC

    oklch(79% 0.082 244)

  • #E9A4B4

    #E9A4B4

    oklch(78.9% 0.084 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC489

    #AFC489

    oklch(79% 0.083 124.2)

  • #78C9DB

    #78C9DB

    oklch(79.1% 0.083 213.5)

  • #C6AEE6

    #C6AEE6

    oklch(79% 0.082 304.1)

  • #EAA897

    #EAA897

    oklch(79% 0.082 35)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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