#AFD96D#AFD96D

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

Color values

HEX#AFD96D
RGBrgb(175, 217, 109)
HSLhsl(83, 59%, 64%)
HSVhsv(83, 50%, 85%)
CMYKcmyk(19.4%, 0%, 49.8%, 14.9%)
CIE-LABlab(81.75, -30.92, 48.35)
CIE-LCHlch(81.75, 57.39, 122.60°)
OKLaboklab(83.2% -0.0864 0.1153)
OKLCHoklch(83.2% 0.144 126.8)
XYZxyz(45.2522, 59.8432, 23.6319)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD96D #976DD9
analogous
#D9CD6D #AFD96D #79D96D
triadic
#AFD96D #6DAFD9 #D96DAF
tetradic
#AFD96D #6DD9CD #976DD9 #D96D79
square
#AFD96D #6DD9CD #976DD9 #D96D79
split-complementary
#AFD96D #6D79D9 #CD6DD9
monochromatic
#73A22A #94CC3C #AFD96D #CAE69E #E4F2CE

Accessibility & contrast

On white

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

On black

12.97
#AFD96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD96D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD96D#FFFFFF#000000##000000
##AFD96D1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD63
Deuteranopia (green-blind)
#DDCB73
Tritanopia (blue-blind)
#B4D1C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd96d;
/* rgb */ color: rgb(175, 217, 109);
/* oklch */ color: oklch(83.2% 0.144 126.8);
Tailwind
colors: {
  custom: {
    50: '#c9e599',
    500: '#afd96d',
    950: '#000000',
  },
}
SCSS
$custom: #afd96d;
$custom-light: #c9e599;
$custom-dark: #000000;
JSON
{
  "hex": "#afd96d",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 83.333,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.832,
    "c": 0.14408,
    "h": 126.8
  },
  "luminance": 0.59844
}

Semantic roles & 50–950 ramp

primary
#AFD96D
secondary
#6A45A5
accent
#1FC660
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD96D

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

Preview Lab → · Contrast checker → · Palette generator →

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