#AFDB54#AFDB54

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

Color values

HEX#AFDB54
RGBrgb(175, 219, 84)
HSLhsl(80, 65%, 59%)
HSVhsv(80, 62%, 86%)
CMYKcmyk(20.1%, 0%, 61.6%, 14.1%)
CIE-LABlab(82.06, -34.12, 59.93)
CIE-LCHlch(82.06, 68.96, 119.65°)
OKLaboklab(83.37% -0.0974 0.1379)
OKLCHoklch(83.37% 0.169 125.2)
XYZxyz(44.6111, 60.4166, 17.6971)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB54 #8054DB
analogous
#DBC454 #AFDB54 #6CDB54
triadic
#AFDB54 #54AFDB #DB54AF
tetradic
#AFDB54 #54DBC4 #8054DB #DB546C
square
#AFDB54 #54DBC4 #8054DB #DB546C
split-complementary
#AFDB54 #546CDB #C454DB
monochromatic
#6F951F #94C82A #AFDB54 #C7E687 #DEF0B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDB54#FFFFFF#000000##000000
##AFDB541.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)
#E6CE44
Deuteranopia (green-blind)
#E0CC5E
Tritanopia (blue-blind)
#B6D1BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdb54;
/* rgb */ color: rgb(175, 219, 84);
/* oklch */ color: oklch(83.4% 0.169 125.2);
Tailwind
colors: {
  custom: {
    50: '#cae68a',
    500: '#afdb54',
    950: '#000000',
  },
}
SCSS
$custom: #afdb54;
$custom-light: #cae68a;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb54",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 79.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8337,
    "c": 0.16878,
    "h": 125.2
  },
  "luminance": 0.60417
}

Semantic roles & 50–950 ramp

primary
#AFDB54
secondary
#59399A
accent
#40E877
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDB54

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

Preview Lab → · Contrast checker → · Palette generator →

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