#AFE55B#AFE55B

#AFE55B is a very light, vivid yellow-green. Relative luminance 0.659; OKLCH L 85.7% C 0.176 H 127.8°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#AFE55B
RGBrgb(175, 229, 91)
HSLhsl(83, 73%, 63%)
HSVhsv(83, 60%, 90%)
CMYKcmyk(23.6%, 0%, 60.3%, 10.2%)
CIE-LABlab(84.95, -38.10, 60.15)
CIE-LCHlch(84.95, 71.20, 122.35°)
OKLaboklab(85.72% -0.1078 0.1391)
OKLCHoklch(85.72% 0.176 127.8)
XYZxyz(47.5867, 65.9070, 20.1097)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE55B #915BE5
analogous
#E5D65B #AFE55B #6AE55B
triadic
#AFE55B #5BAFE5 #E55BAF
tetradic
#AFE55B #5BE5D6 #915BE5 #E55B6A
square
#AFE55B #5BE5D6 #915BE5 #E55B6A
split-complementary
#AFE55B #5B6AE5 #D65BE5
monochromatic
#72AB1B #95DD26 #AFE55B #C9ED90 #E3F6C5

Accessibility & contrast

On white

1.48
#AFE55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#AFE55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE55B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE55B#FFFFFF#000000##000000
##AFE55B1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D64B
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#B5DBC8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe55b;
/* rgb */ color: rgb(175, 229, 91);
/* oklch */ color: oklch(85.7% 0.176 127.8);
Tailwind
colors: {
  custom: {
    50: '#caed8e',
    500: '#afe55b',
    950: '#000000',
  },
}
SCSS
$custom: #afe55b;
$custom-light: #caed8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe55b",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 91
  },
  "hsl": {
    "h": 83.478,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85722,
    "c": 0.17601,
    "h": 127.8
  },
  "luminance": 0.65908
}

Semantic roles & 50–950 ramp

primary
#AFE55B
secondary
#6538AC
accent
#11D55D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE55B

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

Preview Lab → · Contrast checker → · Palette generator →

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