#AFDF5E#AFDF5E

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

Color values

HEX#AFDF5E
RGBrgb(175, 223, 94)
HSLhsl(82, 67%, 62%)
HSVhsv(82, 58%, 87%)
CMYKcmyk(21.5%, 0%, 57.8%, 12.5%)
CIE-LABlab(83.28, -35.13, 56.99)
CIE-LCHlch(83.28, 66.95, 121.65°)
OKLaboklab(84.38% -0.0993 0.1327)
OKLCHoklch(84.38% 0.166 126.8)
XYZxyz(46.0872, 62.6968, 20.2611)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF5E #8E5EDF
analogous
#DFCF5E #AFDF5E #6EDF5E
triadic
#AFDF5E #5EAFDF #DF5EAF
tetradic
#AFDF5E #5EDFCF #8E5EDF #DF5E6E
square
#AFDF5E #5EDFCF #8E5EDF #DF5E6E
split-complementary
#AFDF5E #5E6EDF #CF5EDF
monochromatic
#72A220 #96D52B #AFDF5E #C8E991 #E2F3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDF5E#FFFFFF#000000##000000
##AFDF5E1.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)
#EAD150
Deuteranopia (green-blind)
#E3CF67
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf5e;
/* rgb */ color: rgb(175, 223, 94);
/* oklch */ color: oklch(84.4% 0.166 126.8);
Tailwind
colors: {
  custom: {
    50: '#cae990',
    500: '#afdf5e',
    950: '#000000',
  },
}
SCSS
$custom: #afdf5e;
$custom-light: #cae990;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf5e",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 82.326,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84383,
    "c": 0.16577,
    "h": 126.8
  },
  "luminance": 0.62697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFDF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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