#AFC673

Closest named color: Light Moss Green (#A6C875). oklch(79% 0.111 121.6), rgb(175, 198, 115).

Aa

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

About this color

#AFC673 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.111 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.012 away. Black text reads best on it, at 11.14:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.14:1
White text1.88:1

Values

HEX#AFC673
RGBrgb(175, 198, 115)
HSLhsl(77, 42%, 61%)
OKLCHoklch(79% 0.111 121.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 #AFC673 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #AFC673 11.14:1 AAA Lc 68.2 Content text, not long reading
#AFC673 text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#AFC673 text on black 11.14:1 AAA Lc -66.8 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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E6EED6

    oklch(93.7% 0.033 122.1)

  3. Step 200

    200

    #D2E0B3

    oklch(88.5% 0.062 121.7)

  4. Step 300

    300 (this color)

    #AFC673

    oklch(79% 0.111 121.6)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677E00

    oklch(55.5% 0.134 121.5)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFC673 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)#CFBD6D0.047
Deuteranopia (no green cones)#CCBD770.047
Tritanopia (no blue cones)#B5BEB20.093
Achromatopsia (no color)#BDBDBD0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC673

    #AFC673

    oklch(79% 0.111 121.6)

  • #C7AAF7

    #C7AAF7

    oklch(79.1% 0.111 301.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC673

    #AFC673

    oklch(79% 0.111 121.6)

  • #D5B862

    #D5B862

    oklch(79% 0.111 91.1)

  • #82CF97

    #82CF97

    oklch(79% 0.111 151.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFC673

    #AFC673

    oklch(79% 0.111 121.6)

  • #A2B7FF

    #A2B7FF

    oklch(79.1% 0.105 271.3)

  • #E5A0DB

    #E5A0DB

    oklch(79.1% 0.112 331.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC673

    #AFC673

    oklch(79% 0.111 121.6)

  • #76C3FC

    #76C3FC

    oklch(78.9% 0.112 242.1)

  • #F69CB5

    #F69CB5

    oklch(79% 0.111 1.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC673

    #AFC673

    oklch(79% 0.111 121.6)

  • #54CEE4

    #54CEE4

    oklch(79.2% 0.111 211.5)

  • #C7AAF7

    #C7AAF7

    oklch(79.1% 0.111 301.2)

  • #FA9F8E

    #FA9F8E

    oklch(79% 0.112 31.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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