#AFE159#AFE159

#AFE159 is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 84.8% C 0.172 H 126.8°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#AFE159
RGBrgb(175, 225, 89)
HSLhsl(82, 69%, 62%)
HSVhsv(82, 60%, 88%)
CMYKcmyk(22.2%, 0%, 60.4%, 11.8%)
CIE-LABlab(83.80, -36.46, 59.73)
CIE-LCHlch(83.80, 69.98, 121.40°)
OKLaboklab(84.79% -0.1034 0.138)
OKLCHoklch(84.79% 0.172 126.8)
XYZxyz(46.4076, 63.6849, 19.2967)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE159 #8B59E1
analogous
#E1CF59 #AFE159 #6BE159
triadic
#AFE159 #59AFE1 #E159AF
tetradic
#AFE159 #59E1CF #8B59E1 #E1596B
square
#AFE159 #59E1CF #8B59E1 #E1596B
split-complementary
#AFE159 #596BE1 #CF59E1
monochromatic
#71A21D #96D627 #AFE159 #C8EA8D #E1F4C1

Accessibility & contrast

On white

1.53
#AFE159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#AFE159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE159
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE159#FFFFFF#000000##000000
##AFE1591.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD349
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe159;
/* rgb */ color: rgb(175, 225, 89);
/* oklch */ color: oklch(84.8% 0.172 126.8);
Tailwind
colors: {
  custom: {
    50: '#caea8d',
    500: '#afe159',
    950: '#000000',
  },
}
SCSS
$custom: #afe159;
$custom-light: #caea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe159",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 82.059,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84788,
    "c": 0.17247,
    "h": 126.8
  },
  "luminance": 0.63686
}

Semantic roles & 50–950 ramp

primary
#AFE159
secondary
#6139A5
accent
#14D15A
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE159

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

Preview Lab → · Contrast checker → · Palette generator →

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