#AFDA39#AFDA39

#AFDA39 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 82.9% C 0.186 H 123.8°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#AFDA39
RGBrgb(175, 218, 57)
HSLhsl(76, 69%, 54%)
HSVhsv(76, 74%, 85%)
CMYKcmyk(19.7%, 0%, 73.9%, 14.5%)
CIE-LABlab(81.59, -35.38, 69.60)
CIE-LCHlch(81.59, 78.07, 116.94°)
OKLaboklab(82.93% -0.1032 0.1543)
OKLCHoklch(82.93% 0.186 123.8)
XYZxyz(43.4896, 59.5518, 13.0736)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA39 #6439DA
analogous
#DAB539 #AFDA39 #5FDA39
triadic
#AFDA39 #39AFDA #DA39AF
tetradic
#AFDA39 #39DAB5 #6439DA #DA395F
square
#AFDA39 #39DAB5 #6439DA #DA395F
split-complementary
#AFDA39 #395FDA #B539DA
monochromatic
#658118 #8DB422 #AFDA39 #C4E46D #D9EDA0

Accessibility & contrast

On white

1.63
#AFDA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#AFDA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA39
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA39#FFFFFF#000000##000000
##AFDA391.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC15
Deuteranopia (green-blind)
#E1CA48
Tritanopia (blue-blind)
#B8CFBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda39;
/* rgb */ color: rgb(175, 218, 57);
/* oklch */ color: oklch(82.9% 0.186 123.8);
Tailwind
colors: {
  custom: {
    50: '#cbe57b',
    500: '#afda39',
    950: '#000000',
  },
}
SCSS
$custom: #afda39;
$custom-light: #cbe57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afda39",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 57
  },
  "hsl": {
    "h": 76.025,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8293,
    "c": 0.18566,
    "h": 123.8
  },
  "luminance": 0.59552
}

Semantic roles & 50–950 ramp

primary
#AFDA39
secondary
#473088
accent
#3CEB6B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFDA39

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

Preview Lab → · Contrast checker → · Palette generator →

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