#AFDE96#AFDE96

#AFDE96 is a very light, moderate yellow-green. Relative luminance 0.636; OKLCH L 85.0% C 0.108 H 135.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#AFDE96
RGBrgb(175, 222, 150)
HSLhsl(99, 52%, 73%)
HSVhsv(99, 32%, 87%)
CMYKcmyk(21.2%, 0%, 32.4%, 12.9%)
CIE-LABlab(83.73, -28.14, 30.51)
CIE-LCHlch(83.73, 41.51, 132.69°)
OKLaboklab(84.99% -0.0766 0.0763)
OKLCHoklch(84.99% 0.108 135.1)
XYZxyz(49.3043, 63.5574, 38.5184)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE96 #C596DE
analogous
#D3DE96 #AFDE96 #96DEA1
triadic
#AFDE96 #96AFDE #DE96AF
tetradic
#AFDE96 #96D3DE #C596DE #DEA196
square
#AFDE96 #96D3DE #C596DE #DEA196
split-complementary
#AFDE96 #A196DE #DE96D3
monochromatic
#69BE3C #8CCF67 #AFDE96 #D2EDC5 #EDF8E8

Accessibility & contrast

On white

1.53
#AFDE96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#AFDE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE96
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE96#FFFFFF#000000##000000
##AFDE961.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D391
Deuteranopia (green-blind)
#DCCF9A
Tritanopia (blue-blind)
#AFD9CB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afde96;
/* rgb */ color: rgb(175, 222, 150);
/* oklch */ color: oklch(85.0% 0.108 135.1);
Tailwind
colors: {
  custom: {
    50: '#c8e8b5',
    500: '#afde96',
    950: '#000000',
  },
}
SCSS
$custom: #afde96;
$custom-light: #c8e8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afde96",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 150
  },
  "hsl": {
    "h": 99.167,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.84986,
    "c": 0.10817,
    "h": 135.1
  },
  "luminance": 0.63559
}

Semantic roles & 50–950 ramp

primary
#AFDE96
secondary
#9962B6
accent
#26C08A
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDE96

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

Preview Lab → · Contrast checker → · Palette generator →

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