#AFDF96#AFDF96

#AFDF96 is a very light, moderate yellow-green. Relative luminance 0.641; OKLCH L 85.2% C 0.110 H 135.3°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#AFDF96
RGBrgb(175, 223, 150)
HSLhsl(99, 53%, 73%)
HSVhsv(99, 33%, 87%)
CMYKcmyk(21.5%, 0%, 32.7%, 12.5%)
CIE-LABlab(84.01, -28.62, 30.88)
CIE-LCHlch(84.01, 42.10, 132.83°)
OKLaboklab(85.21% -0.078 0.0772)
OKLCHoklch(85.21% 0.11 135.3)
XYZxyz(49.5706, 64.0902, 38.6072)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF96 #C696DF
analogous
#D3DF96 #AFDF96 #96DFA1
triadic
#AFDF96 #96AFDF #DF96AF
tetradic
#AFDF96 #96D3DF #C696DF #DFA196
square
#AFDF96 #96D3DF #C696DF #DFA196
split-complementary
#AFDF96 #A196DF #DF96D3
monochromatic
#68C03B #8BD167 #AFDF96 #D3EDC5 #EDF8E8

Accessibility & contrast

On white

1.52
#AFDF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#AFDF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF96
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF96#FFFFFF#000000##000000
##AFDF961.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D491
Deuteranopia (green-blind)
#DDD09A
Tritanopia (blue-blind)
#AFDACC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf96;
/* rgb */ color: rgb(175, 223, 150);
/* oklch */ color: oklch(85.2% 0.110 135.3);
Tailwind
colors: {
  custom: {
    50: '#c8e9b5',
    500: '#afdf96',
    950: '#000000',
  },
}
SCSS
$custom: #afdf96;
$custom-light: #c8e9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf96",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 150
  },
  "hsl": {
    "h": 99.452,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.85209,
    "c": 0.10972,
    "h": 135.3
  },
  "luminance": 0.64091
}

Semantic roles & 50–950 ramp

primary
#AFDF96
secondary
#9A62B7
accent
#25C18B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF96

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFDF96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva