#AFDB42#AFDB42

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

Color values

HEX#AFDB42
RGBrgb(175, 219, 66)
HSLhsl(77, 68%, 56%)
HSVhsv(77, 70%, 86%)
CMYKcmyk(20.1%, 0%, 69.9%, 14.1%)
CIE-LABlab(81.93, -35.34, 66.83)
CIE-LCHlch(81.93, 75.60, 117.87°)
OKLaboklab(83.22% -0.1023 0.1499)
OKLCHoklch(83.22% 0.182 124.3)
XYZxyz(43.9945, 60.1699, 14.4494)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB42 #6E42DB
analogous
#DBBA42 #AFDB42 #62DB42
triadic
#AFDB42 #42AFDB #DB42AF
tetradic
#AFDB42 #42DBBA #6E42DB #DB4262
square
#AFDB42 #42DBBA #6E42DB #DB4262
split-complementary
#AFDB42 #4262DB #BA42DB
monochromatic
#69891A #90BC24 #AFDB42 #C5E575 #DBEFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDB42#FFFFFF#000000##000000
##AFDB421.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)
#E7CD28
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#B7D0BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb42;
/* rgb */ color: rgb(175, 219, 66);
/* oklch */ color: oklch(83.2% 0.182 124.3);
Tailwind
colors: {
  custom: {
    50: '#cbe67f',
    500: '#afdb42',
    950: '#000000',
  },
}
SCSS
$custom: #afdb42;
$custom-light: #cbe67f;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb42",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 77.255,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83219,
    "c": 0.18153,
    "h": 124.3
  },
  "luminance": 0.6017
}

Semantic roles & 50–950 ramp

primary
#AFDB42
secondary
#4D338F
accent
#3DEB6F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDB42

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

Preview Lab → · Contrast checker → · Palette generator →

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