#AFDF5D#AFDF5D

#AFDF5D is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.4% C 0.167 H 126.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#AFDF5D
RGBrgb(175, 223, 93)
HSLhsl(82, 67%, 62%)
HSVhsv(82, 58%, 87%)
CMYKcmyk(21.5%, 0%, 58.3%, 12.5%)
CIE-LABlab(83.27, -35.22, 57.42)
CIE-LCHlch(83.27, 67.36, 121.52°)
OKLaboklab(84.37% -0.0996 0.1335)
OKLCHoklch(84.37% 0.167 126.7)
XYZxyz(46.0426, 62.6790, 20.0263)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF5D #8D5DDF
analogous
#DFCE5D #AFDF5D #6EDF5D
triadic
#AFDF5D #5DAFDF #DF5DAF
tetradic
#AFDF5D #5DDFCE #8D5DDF #DF5D6E
square
#AFDF5D #5DDFCE #8D5DDF #DF5D6E
split-complementary
#AFDF5D #5D6EDF #CE5DDF
monochromatic
#72A220 #96D52A #AFDF5D #C8E990 #E1F3C3

Accessibility & contrast

On white

1.55
#AFDF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#AFDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF5D
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF5D#FFFFFF#000000##000000
##AFDF5D1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14F
Deuteranopia (green-blind)
#E3CF66
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf5d;
/* rgb */ color: rgb(175, 223, 93);
/* oklch */ color: oklch(84.4% 0.167 126.7);
Tailwind
colors: {
  custom: {
    50: '#cae98f',
    500: '#afdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #afdf5d;
$custom-light: #cae98f;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf5d",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 82.154,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84373,
    "c": 0.16661,
    "h": 126.7
  },
  "luminance": 0.6268
}

Semantic roles & 50–950 ramp

primary
#AFDF5D
secondary
#623CA5
accent
#17CF5B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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