#AFDD96#AFDD96

#AFDD96 is a very light, moderate yellow-green. Relative luminance 0.630; OKLCH L 84.8% C 0.107 H 135.0°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#AFDD96
RGBrgb(175, 221, 150)
HSLhsl(99, 51%, 73%)
HSVhsv(99, 32%, 87%)
CMYKcmyk(20.8%, 0%, 32.1%, 13.3%)
CIE-LABlab(83.46, -27.67, 30.14)
CIE-LCHlch(83.46, 40.91, 132.55°)
OKLaboklab(84.76% -0.0753 0.0754)
OKLCHoklch(84.76% 0.107 135)
XYZxyz(49.0395, 63.0278, 38.4301)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD96 #C496DD
analogous
#D3DD96 #AFDD96 #96DDA0
triadic
#AFDD96 #96AFDD #DD96AF
tetradic
#AFDD96 #96D3DD #C496DD #DDA096
square
#AFDD96 #96D3DD #C496DD #DDA096
split-complementary
#AFDD96 #A096DD #DD96D3
monochromatic
#6ABC3D #8CCE68 #AFDD96 #D2ECC4 #EDF8E8

Accessibility & contrast

On white

1.54
#AFDD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#AFDD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD96
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD96#FFFFFF#000000##000000
##AFDD961.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D291
Deuteranopia (green-blind)
#DBCF9A
Tritanopia (blue-blind)
#AFD8CB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdd96;
/* rgb */ color: rgb(175, 221, 150);
/* oklch */ color: oklch(84.8% 0.107 135.0);
Tailwind
colors: {
  custom: {
    50: '#c8e7b5',
    500: '#afdd96',
    950: '#000000',
  },
}
SCSS
$custom: #afdd96;
$custom-light: #c8e7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd96",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 150
  },
  "hsl": {
    "h": 98.873,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84763,
    "c": 0.10661,
    "h": 135
  },
  "luminance": 0.63029
}

Semantic roles & 50–950 ramp

primary
#AFDD96
secondary
#9862B5
accent
#27BE89
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDD96

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

Preview Lab → · Contrast checker → · Palette generator →

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