#AFDC40#AFDC40

#AFDC40 is a very light, vivid yellow-green. Relative luminance 0.607; OKLCH L 83.4% C 0.184 H 124.5°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#AFDC40
RGBrgb(175, 220, 64)
HSLhsl(77, 69%, 56%)
HSVhsv(77, 71%, 86%)
CMYKcmyk(20.5%, 0%, 70.9%, 13.7%)
CIE-LABlab(82.20, -35.91, 67.81)
CIE-LCHlch(82.20, 76.74, 117.90°)
OKLaboklab(83.43% -0.1041 0.1517)
OKLCHoklch(83.43% 0.184 124.5)
XYZxyz(44.1982, 60.6701, 14.2315)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC40 #6D40DC
analogous
#DCBB40 #AFDC40 #61DC40
triadic
#AFDC40 #40AFDC #DC40AF
tetradic
#AFDC40 #40DCBB #6D40DC #DC4061
square
#AFDC40 #40DCBB #6D40DC #DC4061
split-complementary
#AFDC40 #4061DC #BB40DC
monochromatic
#688919 #90BC23 #AFDC40 #C5E574 #DAEFA7

Accessibility & contrast

On white

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

On black

13.13
#AFDC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC40
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC40#FFFFFF#000000##000000
##AFDC401.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE24
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#B7D1BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdc40;
/* rgb */ color: rgb(175, 220, 64);
/* oklch */ color: oklch(83.4% 0.184 124.5);
Tailwind
colors: {
  custom: {
    50: '#cbe77e',
    500: '#afdc40',
    950: '#000000',
  },
}
SCSS
$custom: #afdc40;
$custom-light: #cbe77e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc40",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 77.308,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83434,
    "c": 0.18396,
    "h": 124.5
  },
  "luminance": 0.60671
}

Semantic roles & 50–950 ramp

primary
#AFDC40
secondary
#4C328F
accent
#3CEC6F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDC40

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

Preview Lab → · Contrast checker → · Palette generator →

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