#AFDC5A#AFDC5A

#AFDC5A is a very light, vivid yellow-green. Relative luminance 0.610; OKLCH L 83.7% C 0.165 H 125.9°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#AFDC5A
RGBrgb(175, 220, 90)
HSLhsl(81, 65%, 61%)
HSVhsv(81, 59%, 86%)
CMYKcmyk(20.5%, 0%, 59.1%, 13.7%)
CIE-LABlab(82.40, -34.10, 57.74)
CIE-LCHlch(82.40, 67.06, 120.56°)
OKLaboklab(83.66% -0.0968 0.1339)
OKLCHoklch(83.66% 0.165 125.9)
XYZxyz(45.1179, 61.0380, 19.0754)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC5A #875ADC
analogous
#DCC85A #AFDC5A #6EDC5A
triadic
#AFDC5A #5AAFDC #DC5AAF
tetradic
#AFDC5A #5ADCC8 #875ADC #DC5A6E
square
#AFDC5A #5ADCC8 #875ADC #DC5A6E
split-complementary
#AFDC5A #5A6EDC #C85ADC
monochromatic
#719B21 #95CD2C #AFDC5A #C7E78C #E0F1BF

Accessibility & contrast

On white

1.59
#AFDC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#AFDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC5A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC5A#FFFFFF#000000##000000
##AFDC5A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E1CC63
Tritanopia (blue-blind)
#B6D2C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc5a;
/* rgb */ color: rgb(175, 220, 90);
/* oklch */ color: oklch(83.7% 0.165 125.9);
Tailwind
colors: {
  custom: {
    50: '#cae78d',
    500: '#afdc5a',
    950: '#000000',
  },
}
SCSS
$custom: #afdc5a;
$custom-light: #cae78d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc5a",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 80.769,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.16523,
    "h": 125.9
  },
  "luminance": 0.61039
}

Semantic roles & 50–950 ramp

primary
#AFDC5A
secondary
#5E3B9F
accent
#19CD57
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160C
muted
#83847F

Preview Lab

Preview with #AFDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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