#AFDB52#AFDB52

#AFDB52 is a very light, vivid yellow-green. Relative luminance 0.604; OKLCH L 83.4% C 0.170 H 125.1°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#AFDB52
RGBrgb(175, 219, 82)
HSLhsl(79, 66%, 59%)
HSVhsv(79, 63%, 86%)
CMYKcmyk(20.1%, 0%, 62.6%, 14.1%)
CIE-LABlab(82.05, -34.27, 60.74)
CIE-LCHlch(82.05, 69.74, 119.43°)
OKLaboklab(83.35% -0.098 0.1393)
OKLCHoklch(83.35% 0.17 125.1)
XYZxyz(44.5339, 60.3857, 17.2904)
Luminance0.6039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB52 #7E52DB
analogous
#DBC352 #AFDB52 #6BDB52
triadic
#AFDB52 #52AFDB #DB52AF
tetradic
#AFDB52 #52DBC3 #7E52DB #DB526B
square
#AFDB52 #52DBC3 #7E52DB #DB526B
split-complementary
#AFDB52 #526BDB #C352DB
monochromatic
#6E941F #94C629 #AFDB52 #C6E685 #DEF0B7

Accessibility & contrast

On white

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

On black

13.08
#AFDB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB52
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB52#FFFFFF#000000##000000
##AFDB521.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#B6D1BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb52;
/* rgb */ color: rgb(175, 219, 82);
/* oklch */ color: oklch(83.4% 0.170 125.1);
Tailwind
colors: {
  custom: {
    50: '#cae688',
    500: '#afdb52',
    950: '#000000',
  },
}
SCSS
$custom: #afdb52;
$custom-light: #cae688;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb52",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 79.27,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83351,
    "c": 0.17033,
    "h": 125.1
  },
  "luminance": 0.60386
}

Semantic roles & 50–950 ramp

primary
#AFDB52
secondary
#573999
accent
#3FE976
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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