#AFDB2D#AFDB2D

#AFDB2D is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.1% C 0.193 H 123.6°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#AFDB2D
RGBrgb(175, 219, 45)
HSLhsl(75, 71%, 52%)
HSVhsv(75, 79%, 86%)
CMYKcmyk(20.1%, 0%, 79.5%, 14.1%)
CIE-LABlab(81.82, -36.36, 73.39)
CIE-LCHlch(81.82, 81.91, 116.36°)
OKLaboklab(83.09% -0.1067 0.1605)
OKLCHoklch(83.09% 0.193 123.6)
XYZxyz(43.4849, 59.9661, 11.7658)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB2D #592DDB
analogous
#DBB02D #AFDB2D #58DB2D
triadic
#AFDB2D #2DAFDB #DB2DAF
tetradic
#AFDB2D #2DDBB0 #592DDB #DB2D58
square
#AFDB2D #2DDBB0 #592DDB #DB2D58
split-complementary
#AFDB2D #2D58DB #B02DDB
monochromatic
#607915 #89AD1E #AFDB2D #C3E461 #D7ED95

Accessibility & contrast

On white

1.62
#AFDB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#AFDB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB2D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB2D#FFFFFF#000000##000000
##AFDB2D1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#E2CB40
Tritanopia (blue-blind)
#B8D0BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afdb2d;
/* rgb */ color: rgb(175, 219, 45);
/* oklch */ color: oklch(83.1% 0.193 123.6);
Tailwind
colors: {
  custom: {
    50: '#cbe676',
    500: '#afdb2d',
    950: '#000000',
  },
}
SCSS
$custom: #afdb2d;
$custom-light: #cbe676;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb2d",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 45
  },
  "hsl": {
    "h": 75.172,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.83094,
    "c": 0.19271,
    "h": 123.6
  },
  "luminance": 0.59966
}

Semantic roles & 50–950 ramp

primary
#AFDB2D
secondary
#412B81
accent
#3AED68
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #AFDB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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