#AFD596#AFD596

#AFD596 is a very light, moderate yellow-green. Relative luminance 0.589; OKLCH L 83.0% C 0.094 H 133.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#AFD596
RGBrgb(175, 213, 150)
HSLhsl(96, 43%, 71%)
HSVhsv(96, 30%, 84%)
CMYKcmyk(17.8%, 0%, 29.6%, 16.5%)
CIE-LABlab(81.24, -23.81, 27.16)
CIE-LCHlch(81.24, 36.12, 131.24°)
OKLaboklab(82.98% -0.0646 0.0683)
OKLCHoklch(82.98% 0.094 133.4)
XYZxyz(46.9774, 58.9037, 37.7428)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD596 #BC96D5
analogous
#CED596 #AFD596 #96D59C
triadic
#AFD596 #96AFD5 #D596AF
tetradic
#AFD596 #96CED5 #BC96D5 #D59C96
square
#AFD596 #96CED5 #BC96D5 #D59C96
split-complementary
#AFD596 #9C96D5 #D596CE
monochromatic
#6EAC45 #8EC46A #AFD596 #D0E6C2 #EEF6E9

Accessibility & contrast

On white

1.64
#AFD596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#AFD596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD596
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD596#FFFFFF#000000##000000
##AFD5961.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC92
Deuteranopia (green-blind)
#D4C999
Tritanopia (blue-blind)
#B0D0C4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd596;
/* rgb */ color: rgb(175, 213, 150);
/* oklch */ color: oklch(83.0% 0.094 133.4);
Tailwind
colors: {
  custom: {
    50: '#c7e2b5',
    500: '#afd596',
    950: '#000000',
  },
}
SCSS
$custom: #afd596;
$custom-light: #c7e2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd596",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 96.19,
    "s": 42.857,
    "l": 71.176
  },
  "oklch": {
    "l": 0.82983,
    "c": 0.09405,
    "h": 133.4
  },
  "luminance": 0.58904
}

Semantic roles & 50–950 ramp

primary
#AFD596
secondary
#8F64AB
accent
#30B681
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD596

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

Preview Lab → · Contrast checker → · Palette generator →

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