#AFDF5A#AFDF5A

#AFDF5A is a very light, vivid yellow-green. Relative luminance 0.626; OKLCH L 84.3% C 0.169 H 126.5°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#AFDF5A
RGBrgb(175, 223, 90)
HSLhsl(82, 68%, 61%)
HSVhsv(82, 60%, 87%)
CMYKcmyk(21.5%, 0%, 59.6%, 12.5%)
CIE-LABlab(83.25, -35.47, 58.69)
CIE-LCHlch(83.25, 68.57, 121.15°)
OKLaboklab(84.34% -0.1006 0.1359)
OKLCHoklch(84.34% 0.169 126.5)
XYZxyz(45.9124, 62.6268, 19.3402)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF5A #8A5ADF
analogous
#DFCD5A #AFDF5A #6DDF5A
triadic
#AFDF5A #5AAFDF #DF5AAF
tetradic
#AFDF5A #5ADFCD #8A5ADF #DF5A6D
square
#AFDF5A #5ADFCD #8A5ADF #DF5A6D
split-complementary
#AFDF5A #5A6DDF #CD5ADF
monochromatic
#71A01F #96D329 #AFDF5A #C8E98D #E1F3C1

Accessibility & contrast

On white

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

On black

13.53
#AFDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF5A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF5A#FFFFFF#000000##000000
##AFDF5A1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14B
Deuteranopia (green-blind)
#E3CF63
Tritanopia (blue-blind)
#B5D5C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf5a;
/* rgb */ color: rgb(175, 223, 90);
/* oklch */ color: oklch(84.3% 0.169 126.5);
Tailwind
colors: {
  custom: {
    50: '#cae98d',
    500: '#afdf5a',
    950: '#000000',
  },
}
SCSS
$custom: #afdf5a;
$custom-light: #cae98d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf5a",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 81.654,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84342,
    "c": 0.1691,
    "h": 126.5
  },
  "luminance": 0.62627
}

Semantic roles & 50–950 ramp

primary
#AFDF5A
secondary
#603AA3
accent
#16CF59
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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