#AFD96B#AFD96B

#AFD96B is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.2% C 0.146 H 126.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#AFD96B
RGBrgb(175, 217, 107)
HSLhsl(83, 59%, 64%)
HSVhsv(83, 51%, 85%)
CMYKcmyk(19.4%, 0%, 50.7%, 14.9%)
CIE-LABlab(81.73, -31.13, 49.27)
CIE-LCHlch(81.73, 58.28, 122.29°)
OKLaboklab(83.17% -0.0871 0.1172)
OKLCHoklch(83.17% 0.146 126.6)
XYZxyz(45.1457, 59.8006, 23.0713)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD96B #956BD9
analogous
#D9CC6B #AFD96B #78D96B
triadic
#AFD96B #6BAFD9 #D96BAF
tetradic
#AFD96B #6BD9CC #956BD9 #D96B78
square
#AFD96B #6BD9CC #956BD9 #D96B78
split-complementary
#AFD96B #6B78D9 #CC6BD9
monochromatic
#73A029 #95CC3A #AFD96B #C9E69C #E4F2CC

Accessibility & contrast

On white

1.62
#AFD96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#AFD96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD96B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD96B#FFFFFF#000000##000000
##AFD96B1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD61
Deuteranopia (green-blind)
#DDCA72
Tritanopia (blue-blind)
#B4D0C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd96b;
/* rgb */ color: rgb(175, 217, 107);
/* oklch */ color: oklch(83.2% 0.146 126.6);
Tailwind
colors: {
  custom: {
    50: '#c9e598',
    500: '#afd96b',
    950: '#000000',
  },
}
SCSS
$custom: #afd96b;
$custom-light: #c9e598;
$custom-dark: #000000;
JSON
{
  "hex": "#afd96b",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 82.909,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83174,
    "c": 0.146,
    "h": 126.6
  },
  "luminance": 0.59801
}

Semantic roles & 50–950 ramp

primary
#AFD96B
secondary
#6944A4
accent
#1FC75F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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