#AFDA54#AFDA54

#AFDA54 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 83.1% C 0.168 H 125.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#AFDA54
RGBrgb(175, 218, 84)
HSLhsl(79, 64%, 59%)
HSVhsv(79, 61%, 85%)
CMYKcmyk(19.7%, 0%, 61.5%, 14.5%)
CIE-LABlab(81.78, -33.66, 59.62)
CIE-LCHlch(81.78, 68.47, 119.45°)
OKLaboklab(83.14% -0.0961 0.1372)
OKLCHoklch(83.14% 0.168 125)
XYZxyz(44.3510, 59.8964, 17.6104)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA54 #7F54DA
analogous
#DAC254 #AFDA54 #6CDA54
triadic
#AFDA54 #54AFDA #DA54AF
tetradic
#AFDA54 #54DAC2 #7F54DA #DA546C
square
#AFDA54 #54DAC2 #7F54DA #DA546C
split-complementary
#AFDA54 #546CDA #C254DA
monochromatic
#6F9420 #94C62B #AFDA54 #C7E586 #DEF0B9

Accessibility & contrast

On white

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

On black

12.98
#AFDA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA54
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA54#FFFFFF#000000##000000
##AFDA541.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD44
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda54;
/* rgb */ color: rgb(175, 218, 84);
/* oklch */ color: oklch(83.1% 0.168 125.0);
Tailwind
colors: {
  custom: {
    50: '#cae589',
    500: '#afda54',
    950: '#000000',
  },
}
SCSS
$custom: #afda54;
$custom-light: #cae589;
$custom-dark: #000000;
JSON
{
  "hex": "#afda54",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 79.254,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.16751,
    "h": 125
  },
  "luminance": 0.59897
}

Semantic roles & 50–950 ramp

primary
#AFDA54
secondary
#583A98
accent
#40E776
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA54

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

Preview Lab → · Contrast checker → · Palette generator →

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