#AFDB40#AFDB40

#AFDB40 is a very light, vivid yellow-green. Relative luminance 0.601; OKLCH L 83.2% C 0.183 H 124.2°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#AFDB40
RGBrgb(175, 219, 64)
HSLhsl(77, 68%, 55%)
HSVhsv(77, 71%, 86%)
CMYKcmyk(20.1%, 0%, 70.8%, 14.1%)
CIE-LABlab(81.92, -35.46, 67.53)
CIE-LCHlch(81.92, 76.28, 117.70°)
OKLaboklab(83.21% -0.1028 0.1511)
OKLCHoklch(83.21% 0.183 124.2)
XYZxyz(43.9365, 60.1468, 14.1443)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB40 #6C40DB
analogous
#DBB940 #AFDB40 #61DB40
triadic
#AFDB40 #40AFDB #DB40AF
tetradic
#AFDB40 #40DBB9 #6C40DB #DB4061
square
#AFDB40 #40DBB9 #6C40DB #DB4061
split-complementary
#AFDB40 #4061DB #B940DB
monochromatic
#688719 #90BB23 #AFDB40 #C5E573 #DAEEA7

Accessibility & contrast

On white

1.61
#AFDB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#AFDB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB40
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB40#FFFFFF#000000##000000
##AFDB401.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD25
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#B7D0BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb40;
/* rgb */ color: rgb(175, 219, 64);
/* oklch */ color: oklch(83.2% 0.183 124.2);
Tailwind
colors: {
  custom: {
    50: '#cbe67e',
    500: '#afdb40',
    950: '#000000',
  },
}
SCSS
$custom: #afdb40;
$custom-light: #cbe67e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb40",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 77.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83205,
    "c": 0.18277,
    "h": 124.2
  },
  "luminance": 0.60147
}

Semantic roles & 50–950 ramp

primary
#AFDB40
secondary
#4C328D
accent
#3DEB6E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDB40

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

Preview Lab → · Contrast checker → · Palette generator →

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