#AFE15B#AFE15B

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

Color values

HEX#AFE15B
RGBrgb(175, 225, 91)
HSLhsl(82, 69%, 62%)
HSVhsv(82, 60%, 88%)
CMYKcmyk(22.2%, 0%, 59.6%, 11.8%)
CIE-LABlab(83.82, -36.30, 58.90)
CIE-LCHlch(83.82, 69.18, 121.64°)
OKLaboklab(84.81% -0.1028 0.1365)
OKLCHoklch(84.81% 0.171 127)
XYZxyz(46.4927, 63.7190, 19.7450)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE15B #8D5BE1
analogous
#E1D05B #AFE15B #6CE15B
triadic
#AFE15B #5BAFE1 #E15BAF
tetradic
#AFE15B #5BE1D0 #8D5BE1 #E15B6C
square
#AFE15B #5BE1D0 #8D5BE1 #E15B6C
split-complementary
#AFE15B #5B6CE1 #D05BE1
monochromatic
#72A41E #96D727 #AFE15B #C8EA8F #E1F4C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE15B#FFFFFF#000000##000000
##AFE15B1.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)
#ECD34C
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe15b;
/* rgb */ color: rgb(175, 225, 91);
/* oklch */ color: oklch(84.8% 0.171 127.0);
Tailwind
colors: {
  custom: {
    50: '#caea8e',
    500: '#afe15b',
    950: '#000000',
  },
}
SCSS
$custom: #afe15b;
$custom-light: #caea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe15b",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 91
  },
  "hsl": {
    "h": 82.388,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84808,
    "c": 0.17085,
    "h": 127
  },
  "luminance": 0.6372
}

Semantic roles & 50–950 ramp

primary
#AFE15B
secondary
#623AA6
accent
#14D15B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE15B

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

Preview Lab → · Contrast checker → · Palette generator →

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