#AFDD5B#AFDD5B

#AFDD5B is a very light, vivid yellow-green. Relative luminance 0.616; OKLCH L 83.9% C 0.166 H 126.2°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#AFDD5B
RGBrgb(175, 221, 91)
HSLhsl(81, 66%, 61%)
HSVhsv(81, 59%, 87%)
CMYKcmyk(20.8%, 0%, 58.8%, 13.3%)
CIE-LABlab(82.69, -34.47, 57.64)
CIE-LCHlch(82.69, 67.16, 120.88°)
OKLaboklab(83.9% -0.0977 0.1338)
OKLCHoklch(83.9% 0.166 126.2)
XYZxyz(45.4240, 61.5816, 19.3888)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD5B #895BDD
analogous
#DDCA5B #AFDD5B #6EDD5B
triadic
#AFDD5B #5BAFDD #DD5BAF
tetradic
#AFDD5B #5BDDCA #895BDD #DD5B6E
square
#AFDD5B #5BDDCA #895BDD #DD5B6E
split-complementary
#AFDD5B #5B6EDD #CA5BDD
monochromatic
#719D21 #95D02B #AFDD5B #C8E88E #E0F2C0

Accessibility & contrast

On white

1.58
#AFDD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#AFDD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD5B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD5B#FFFFFF#000000##000000
##AFDD5B1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#B5D3C1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd5b;
/* rgb */ color: rgb(175, 221, 91);
/* oklch */ color: oklch(83.9% 0.166 126.2);
Tailwind
colors: {
  custom: {
    50: '#cae78e',
    500: '#afdd5b',
    950: '#000000',
  },
}
SCSS
$custom: #afdd5b;
$custom-light: #cae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd5b",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 81.231,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83896,
    "c": 0.16569,
    "h": 126.2
  },
  "luminance": 0.61582
}

Semantic roles & 50–950 ramp

primary
#AFDD5B
secondary
#5F3BA1
accent
#18CE58
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFDD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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