#AFC274

Closest named color: Light Olive (#ACBF69). oklch(78.1% 0.105 120.1), rgb(175, 194, 116).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameLight Olive (#ACBF69)
Black text10.79:1
White text1.94:1

Values

HEX#AFC274
RGBrgb(175, 194, 116)
HSLhsl(75, 39%, 61%)
OKLCHoklch(78.1% 0.105 120.1)

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 #AFC274 1.94:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #AFC274 10.79:1 AAA Lc 66.6 Content text, not long reading
#AFC274 text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#AFC274 text on black 10.79:1 AAA Lc -65.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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E7EDD7

    oklch(93.6% 0.03 119.4)

  3. Step 200

    200

    #D4DFB5

    oklch(88.4% 0.057 119.5)

  4. Step 300

    300 (this color)

    #AFC274

    oklch(78.1% 0.105 120.1)

  5. Step 400

    400

    #94AF04

    oklch(70.8% 0.168 120.2)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596A00

    oklch(49.3% 0.117 120.1)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#AFC274 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)#CBBA6E0.041
Deuteranopia (no green cones)#C9BA780.042
Tritanopia (no blue cones)#B6BBAF0.087
Achromatopsia (no color)#BABABA0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC274

    #AFC274

    oklch(78.1% 0.105 120.1)

  • #C2A9F1

    #C2A9F1

    oklch(78.2% 0.104 299.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC274

    #AFC274

    oklch(78.1% 0.105 120.1)

  • #D2B566

    #D2B566

    oklch(78.2% 0.104 89.8)

  • #86CB94

    #86CB94

    oklch(78.2% 0.105 149.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFC274

    #AFC274

    oklch(78.1% 0.105 120.1)

  • #9EB5FB

    #9EB5FB

    oklch(78.2% 0.104 269.9)

  • #DE9FD8

    #DE9FD8

    oklch(78.1% 0.105 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC274

    #AFC274

    oklch(78.1% 0.105 120.1)

  • #76C1F4

    #76C1F4

    oklch(78.2% 0.105 239.7)

  • #EF9BB5

    #EF9BB5

    oklch(78.1% 0.105 359.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC274

    #AFC274

    oklch(78.1% 0.105 120.1)

  • #5ACADD

    #5ACADD

    oklch(78.2% 0.104 210.3)

  • #C2A9F1

    #C2A9F1

    oklch(78.2% 0.104 299.9)

  • #F39E90

    #F39E90

    oklch(78.1% 0.104 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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