#AFDA59#AFDA59

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

Color values

HEX#AFDA59
RGBrgb(175, 218, 89)
HSLhsl(80, 64%, 60%)
HSVhsv(80, 59%, 85%)
CMYKcmyk(19.7%, 0%, 59.2%, 14.5%)
CIE-LABlab(81.83, -33.26, 57.54)
CIE-LCHlch(81.83, 66.46, 120.03°)
OKLaboklab(83.19% -0.0946 0.1333)
OKLCHoklch(83.19% 0.163 125.3)
XYZxyz(44.5539, 59.9776, 18.6788)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA59 #8459DA
analogous
#DAC559 #AFDA59 #6EDA59
triadic
#AFDA59 #59AFDA #DA59AF
tetradic
#AFDA59 #59DAC5 #8459DA #DA596E
square
#AFDA59 #59DAC5 #8459DA #DA596E
split-complementary
#AFDA59 #596EDA #C559DA
monochromatic
#709722 #95C92D #AFDA59 #C7E58B #DFF0BD

Accessibility & contrast

On white

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

On black

13.00
#AFDA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA59
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA59#FFFFFF#000000##000000
##AFDA591.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afda59;
/* rgb */ color: rgb(175, 218, 89);
/* oklch */ color: oklch(83.2% 0.163 125.3);
Tailwind
colors: {
  custom: {
    50: '#cae58c',
    500: '#afda59',
    950: '#000000',
  },
}
SCSS
$custom: #afda59;
$custom-light: #cae58c;
$custom-dark: #000000;
JSON
{
  "hex": "#afda59",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 89
  },
  "hsl": {
    "h": 80,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83192,
    "c": 0.16347,
    "h": 125.3
  },
  "luminance": 0.59978
}

Semantic roles & 50–950 ramp

primary
#AFDA59
secondary
#5C3C9B
accent
#1ACB55
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFDA59

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

Preview Lab → · Contrast checker → · Palette generator →

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