#AFDA56#AFDA56

#AFDA56 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 83.2% C 0.166 H 125.1°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#AFDA56
RGBrgb(175, 218, 86)
HSLhsl(80, 64%, 60%)
HSVhsv(80, 61%, 85%)
CMYKcmyk(19.7%, 0%, 60.6%, 14.5%)
CIE-LABlab(81.80, -33.50, 58.79)
CIE-LCHlch(81.80, 67.67, 119.67°)
OKLaboklab(83.16% -0.0955 0.1357)
OKLCHoklch(83.16% 0.166 125.1)
XYZxyz(44.4305, 59.9282, 18.0288)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA56 #8156DA
analogous
#DAC356 #AFDA56 #6DDA56
triadic
#AFDA56 #56AFDA #DA56AF
tetradic
#AFDA56 #56DAC3 #8156DA #DA566D
square
#AFDA56 #56DAC3 #8156DA #DA566D
split-complementary
#AFDA56 #566DDA #C356DA
monochromatic
#6F9521 #95C72C #AFDA56 #C7E588 #DFF0BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDA56#FFFFFF#000000##000000
##AFDA561.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)
#E5CD47
Deuteranopia (green-blind)
#DFCB5F
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda56;
/* rgb */ color: rgb(175, 218, 86);
/* oklch */ color: oklch(83.2% 0.166 125.1);
Tailwind
colors: {
  custom: {
    50: '#cae58b',
    500: '#afda56',
    950: '#000000',
  },
}
SCSS
$custom: #afda56;
$custom-light: #cae58b;
$custom-dark: #000000;
JSON
{
  "hex": "#afda56",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 86
  },
  "hsl": {
    "h": 79.545,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83161,
    "c": 0.16592,
    "h": 125.1
  },
  "luminance": 0.59929
}

Semantic roles & 50–950 ramp

primary
#AFDA56
secondary
#5A3B9A
accent
#41E777
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA56

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

Preview Lab → · Contrast checker → · Palette generator →

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