#AFDF5F#AFDF5F

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

Color values

HEX#AFDF5F
RGBrgb(175, 223, 95)
HSLhsl(83, 67%, 62%)
HSVhsv(83, 57%, 87%)
CMYKcmyk(21.5%, 0%, 57.4%, 12.5%)
CIE-LABlab(83.29, -35.04, 56.57)
CIE-LCHlch(83.29, 66.54, 121.78°)
OKLaboklab(84.39% -0.099 0.1319)
OKLCHoklch(84.39% 0.165 126.9)
XYZxyz(46.1324, 62.7148, 20.4990)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF5F #8F5FDF
analogous
#DFCF5F #AFDF5F #6FDF5F
triadic
#AFDF5F #5FAFDF #DF5FAF
tetradic
#AFDF5F #5FDFCF #8F5FDF #DF5F6F
square
#AFDF5F #5FDFCF #8F5FDF #DF5F6F
split-complementary
#AFDF5F #5F6FDF #CF5FDF
monochromatic
#72A321 #96D52C #AFDF5F #C9E992 #E2F3C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDF5F#FFFFFF#000000##000000
##AFDF5F1.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)
#E9D151
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf5f;
/* rgb */ color: rgb(175, 223, 95);
/* oklch */ color: oklch(84.4% 0.165 126.9);
Tailwind
colors: {
  custom: {
    50: '#cae991',
    500: '#afdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #afdf5f;
$custom-light: #cae991;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf5f",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 82.5,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84394,
    "c": 0.16492,
    "h": 126.9
  },
  "luminance": 0.62716
}

Semantic roles & 50–950 ramp

primary
#AFDF5F
secondary
#643CA6
accent
#17CF5C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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