#AFC38D

Closest named color: Pale Olive (#B9CC81). oklch(78.8% 0.076 124.6), rgb(175, 195, 141).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePale Olive (#B9CC81)
Black text11.01:1
White text1.90:1

Values

HEX#AFC38D
RGBrgb(175, 195, 141)
HSLhsl(82, 31%, 66%)
OKLCHoklch(78.8% 0.076 124.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 #AFC38D 1.90:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #AFC38D 11.01:1 AAA Lc 67.6 Content text, not long reading
#AFC38D text on white 1.90:1 Fails Lc 36.3 Non-text elements, placeholder text
#AFC38D text on black 11.01:1 AAA Lc -66.1 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

    #E6EDDD

    oklch(93.6% 0.023 126.2)

  3. Step 200

    200

    #D3DEC0

    oklch(88.4% 0.042 123.7)

  4. Step 300

    300 (this color)

    #AFC38D

    oklch(78.8% 0.076 124.6)

  5. Step 400

    400

    #90AE54

    oklch(70.8% 0.122 124.7)

  6. Step 500

    500

    #759806

    oklch(63% 0.156 124.5)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2B02

    oklch(26.8% 0.064 124.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFC38D 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)#C9BC8A0.038
Deuteranopia (no green cones)#C6BB8F0.038
Tritanopia (no blue cones)#B3BEB50.061
Achromatopsia (no color)#BCBCBC0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC38D

    #AFC38D

    oklch(78.8% 0.076 124.6)

  • #C5AEE2

    #C5AEE2

    oklch(78.8% 0.077 304.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC38D

    #AFC38D

    oklch(78.8% 0.076 124.6)

  • #C9BA81

    #C9BA81

    oklch(78.8% 0.077 95.1)

  • #93C9A4

    #93C9A4

    oklch(78.8% 0.077 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFC38D

    #AFC38D

    oklch(78.8% 0.076 124.6)

  • #ABB7EC

    #ABB7EC

    oklch(78.9% 0.077 274.6)

  • #D9A8CE

    #D9A8CE

    oklch(78.8% 0.076 334.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC38D

    #AFC38D

    oklch(78.8% 0.076 124.6)

  • #90C0E8

    #90C0E8

    oklch(78.8% 0.076 244.1)

  • #E5A6B4

    #E5A6B4

    oklch(78.8% 0.076 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC38D

    #AFC38D

    oklch(78.8% 0.076 124.6)

  • #7EC7D8

    #7EC7D8

    oklch(78.8% 0.077 214.1)

  • #C5AEE2

    #C5AEE2

    oklch(78.8% 0.077 304.8)

  • #E6A999

    #E6A999

    oklch(78.8% 0.076 35.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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