#AFDF59#AFDF59

#AFDF59 is a very light, vivid yellow-green. Relative luminance 0.626; OKLCH L 84.3% C 0.170 H 126.4°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#AFDF59
RGBrgb(175, 223, 89)
HSLhsl(81, 68%, 61%)
HSVhsv(81, 60%, 87%)
CMYKcmyk(21.5%, 0%, 60.1%, 12.5%)
CIE-LABlab(83.24, -35.55, 59.11)
CIE-LCHlch(83.24, 68.97, 121.03°)
OKLaboklab(84.33% -0.1009 0.1367)
OKLCHoklch(84.33% 0.17 126.4)
XYZxyz(45.8701, 62.6099, 19.1175)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF59 #8959DF
analogous
#DFCC59 #AFDF59 #6CDF59
triadic
#AFDF59 #59AFDF #DF59AF
tetradic
#AFDF59 #59DFCC #8959DF #DF596C
square
#AFDF59 #59DFCC #8959DF #DF596C
split-complementary
#AFDF59 #596CDF #CC59DF
monochromatic
#719F1F #95D229 #AFDF59 #C8E98C #E0F3C0

Accessibility & contrast

On white

1.55
#AFDF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#AFDF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF59
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF59#FFFFFF#000000##000000
##AFDF591.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14A
Deuteranopia (green-blind)
#E3CF62
Tritanopia (blue-blind)
#B5D5C2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf59;
/* rgb */ color: rgb(175, 223, 89);
/* oklch */ color: oklch(84.3% 0.170 126.4);
Tailwind
colors: {
  custom: {
    50: '#cae98d',
    500: '#afdf59',
    950: '#000000',
  },
}
SCSS
$custom: #afdf59;
$custom-light: #cae98d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf59",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 89
  },
  "hsl": {
    "h": 81.493,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.1699,
    "h": 126.4
  },
  "luminance": 0.62611
}

Semantic roles & 50–950 ramp

primary
#AFDF59
secondary
#5F3AA2
accent
#16D058
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF59

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

Preview Lab → · Contrast checker → · Palette generator →

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