#AFDB51#AFDB51

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

Color values

HEX#AFDB51
RGBrgb(175, 219, 81)
HSLhsl(79, 66%, 59%)
HSVhsv(79, 63%, 86%)
CMYKcmyk(20.1%, 0%, 63%, 14.1%)
CIE-LABlab(82.04, -34.34, 61.15)
CIE-LCHlch(82.04, 70.13, 119.32°)
OKLaboklab(83.34% -0.0983 0.1401)
OKLCHoklch(83.34% 0.171 125.1)
XYZxyz(44.4961, 60.3706, 17.0915)
Luminance0.6037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB51 #7D51DB
analogous
#DBC251 #AFDB51 #6ADB51
triadic
#AFDB51 #51AFDB #DB51AF
tetradic
#AFDB51 #51DBC2 #7D51DB #DB516A
square
#AFDB51 #51DBC2 #7D51DB #DB516A
split-complementary
#AFDB51 #516ADB #C251DB
monochromatic
#6E931E #94C629 #AFDB51 #C6E584 #DEF0B6

Accessibility & contrast

On white

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

On black

13.07
#AFDB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB51
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB51#FFFFFF#000000##000000
##AFDB511.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdb51;
/* rgb */ color: rgb(175, 219, 81);
/* oklch */ color: oklch(83.3% 0.171 125.1);
Tailwind
colors: {
  custom: {
    50: '#cae688',
    500: '#afdb51',
    950: '#000000',
  },
}
SCSS
$custom: #afdb51;
$custom-light: #cae688;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb51",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 79.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83342,
    "c": 0.1711,
    "h": 125.1
  },
  "luminance": 0.60371
}

Semantic roles & 50–950 ramp

primary
#AFDB51
secondary
#573898
accent
#3FE975
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDB51

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

Preview Lab → · Contrast checker → · Palette generator →

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