#AFDB2E#AFDB2E

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

Color values

HEX#AFDB2E
RGBrgb(175, 219, 46)
HSLhsl(75, 71%, 52%)
HSVhsv(75, 79%, 86%)
CMYKcmyk(20.1%, 0%, 79%, 14.1%)
CIE-LABlab(81.82, -36.32, 73.12)
CIE-LCHlch(81.82, 81.65, 116.42°)
OKLaboklab(83.1% -0.1065 0.1601)
OKLCHoklch(83.1% 0.192 123.7)
XYZxyz(43.5044, 59.9739, 11.8684)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB2E #5A2EDB
analogous
#DBB02E #AFDB2E #59DB2E
triadic
#AFDB2E #2EAFDB #DB2EAF
tetradic
#AFDB2E #2EDBB0 #5A2EDB #DB2E59
square
#AFDB2E #2EDBB0 #5A2EDB #DB2E59
split-complementary
#AFDB2E #2E59DB #B02EDB
monochromatic
#607A15 #89AE1E #AFDB2E #C3E462 #D7ED96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDB2E#FFFFFF#000000##000000
##AFDB2E1.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)
#B8D0BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afdb2e;
/* rgb */ color: rgb(175, 219, 46);
/* oklch */ color: oklch(83.1% 0.192 123.7);
Tailwind
colors: {
  custom: {
    50: '#cbe676',
    500: '#afdb2e',
    950: '#000000',
  },
}
SCSS
$custom: #afdb2e;
$custom-light: #cbe676;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb2e",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 46
  },
  "hsl": {
    "h": 75.26,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.19227,
    "h": 123.7
  },
  "luminance": 0.59974
}

Semantic roles & 50–950 ramp

primary
#AFDB2E
secondary
#422C81
accent
#3AED68
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFDB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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