#AFDA58#AFDA58

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

Color values

HEX#AFDA58
RGBrgb(175, 218, 88)
HSLhsl(80, 64%, 60%)
HSVhsv(80, 60%, 85%)
CMYKcmyk(19.7%, 0%, 59.6%, 14.5%)
CIE-LABlab(81.82, -33.34, 57.96)
CIE-LCHlch(81.82, 66.86, 119.91°)
OKLaboklab(83.18% -0.0949 0.1341)
OKLCHoklch(83.18% 0.164 125.3)
XYZxyz(44.5122, 59.9609, 18.4592)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA58 #8358DA
analogous
#DAC458 #AFDA58 #6EDA58
triadic
#AFDA58 #58AFDA #DA58AF
tetradic
#AFDA58 #58DAC4 #8358DA #DA586E
square
#AFDA58 #58DAC4 #8358DA #DA586E
split-complementary
#AFDA58 #586EDA #C458DA
monochromatic
#709621 #95C82C #AFDA58 #C7E58A #DFF0BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDA58#FFFFFF#000000##000000
##AFDA581.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)
#E5CD49
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda58;
/* rgb */ color: rgb(175, 218, 88);
/* oklch */ color: oklch(83.2% 0.164 125.3);
Tailwind
colors: {
  custom: {
    50: '#cae58c',
    500: '#afda58',
    950: '#000000',
  },
}
SCSS
$custom: #afda58;
$custom-light: #cae58c;
$custom-dark: #000000;
JSON
{
  "hex": "#afda58",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 88
  },
  "hsl": {
    "h": 79.846,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.83181,
    "c": 0.1643,
    "h": 125.3
  },
  "luminance": 0.59961
}

Semantic roles & 50–950 ramp

primary
#AFDA58
secondary
#5B3B9B
accent
#41E778
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA58

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

Preview Lab → · Contrast checker → · Palette generator →

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