#AFDC31#AFDC31

#AFDC31 is a very light, vivid yellow-green. Relative luminance 0.605; OKLCH L 83.3% C 0.192 H 123.9°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#AFDC31
RGBrgb(175, 220, 49)
HSLhsl(76, 71%, 53%)
HSVhsv(76, 78%, 86%)
CMYKcmyk(20.5%, 0%, 77.7%, 13.7%)
CIE-LABlab(82.12, -36.65, 72.55)
CIE-LCHlch(82.12, 81.28, 116.80°)
OKLaboklab(83.34% -0.1072 0.1593)
OKLCHoklch(83.34% 0.192 123.9)
XYZxyz(43.8273, 60.5217, 12.2780)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC31 #5E31DC
analogous
#DCB331 #AFDC31 #5ADC31
triadic
#AFDC31 #31AFDC #DC31AF
tetradic
#AFDC31 #31DCB3 #5E31DC #DC315A
square
#AFDC31 #31DCB3 #5E31DC #DC315A
split-complementary
#AFDC31 #315ADC #B331DC
monochromatic
#627D15 #8BB21E #AFDC31 #C3E565 #D8EE9A

Accessibility & contrast

On white

1.60
#AFDC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#AFDC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC31
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC31#FFFFFF#000000##000000
##AFDC311.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#E3CC43
Tritanopia (blue-blind)
#B8D1BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdc31;
/* rgb */ color: rgb(175, 220, 49);
/* oklch */ color: oklch(83.3% 0.192 123.9);
Tailwind
colors: {
  custom: {
    50: '#cbe777',
    500: '#afdc31',
    950: '#000000',
  },
}
SCSS
$custom: #afdc31;
$custom-light: #cbe777;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc31",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 49
  },
  "hsl": {
    "h": 75.789,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.83343,
    "c": 0.19205,
    "h": 123.9
  },
  "luminance": 0.60522
}

Semantic roles & 50–950 ramp

primary
#AFDC31
secondary
#442D85
accent
#3AEE69
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFDC31

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

Preview Lab → · Contrast checker → · Palette generator →

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