#AFE059#AFE059

#AFE059 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.6% C 0.171 H 126.6°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#AFE059
RGBrgb(175, 224, 89)
HSLhsl(82, 69%, 61%)
HSVhsv(82, 60%, 88%)
CMYKcmyk(21.9%, 0%, 60.3%, 12.2%)
CIE-LABlab(83.52, -36.01, 59.42)
CIE-LCHlch(83.52, 69.48, 121.21°)
OKLaboklab(84.56% -0.1022 0.1374)
OKLCHoklch(84.56% 0.171 126.6)
XYZxyz(46.1380, 63.1459, 19.2069)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE059 #8A59E0
analogous
#E0CE59 #AFE059 #6CE059
triadic
#AFE059 #59AFE0 #E059AF
tetradic
#AFE059 #59E0CE #8A59E0 #E0596C
square
#AFE059 #59E0CE #8A59E0 #E0596C
split-complementary
#AFE059 #596CE0 #CE59E0
monochromatic
#71A11E #96D428 #AFE059 #C8EA8D #E1F3C0

Accessibility & contrast

On white

1.54
#AFE059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#AFE059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE059
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE059#FFFFFF#000000##000000
##AFE0591.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24A
Deuteranopia (green-blind)
#E4CF63
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe059;
/* rgb */ color: rgb(175, 224, 89);
/* oklch */ color: oklch(84.6% 0.171 126.6);
Tailwind
colors: {
  custom: {
    50: '#caea8d',
    500: '#afe059',
    950: '#000000',
  },
}
SCSS
$custom: #afe059;
$custom-light: #caea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe059",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 89
  },
  "hsl": {
    "h": 81.778,
    "s": 68.528,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8456,
    "c": 0.17119,
    "h": 126.6
  },
  "luminance": 0.63147
}

Semantic roles & 50–950 ramp

primary
#AFE059
secondary
#603AA4
accent
#15D059
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE059

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

Preview Lab → · Contrast checker → · Palette generator →

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