#AFE55F#AFE55F

#AFE55F is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 85.8% C 0.173 H 128.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#AFE55F
RGBrgb(175, 229, 95)
HSLhsl(84, 72%, 64%)
HSVhsv(84, 59%, 90%)
CMYKcmyk(23.6%, 0%, 58.5%, 10.2%)
CIE-LABlab(84.99, -37.76, 58.48)
CIE-LCHlch(84.99, 69.61, 122.85°)
OKLaboklab(85.76% -0.1065 0.136)
OKLCHoklch(85.76% 0.173 128.1)
XYZxyz(47.7639, 65.9779, 21.0428)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE55F #955FE5
analogous
#E5D85F #AFE55F #6CE55F
triadic
#AFE55F #5FAFE5 #E55FAF
tetradic
#AFE55F #5FE5D8 #955FE5 #E55F6C
square
#AFE55F #5FE5D8 #955FE5 #E55F6C
split-complementary
#AFE55F #5F6CE5 #D85FE5
monochromatic
#73AD1C #95DC2A #AFE55F #C9EE94 #E4F6C8

Accessibility & contrast

On white

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

On black

14.20
#AFE55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE55F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE55F#FFFFFF#000000##000000
##AFE55F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD750
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#B4DCC8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe55f;
/* rgb */ color: rgb(175, 229, 95);
/* oklch */ color: oklch(85.8% 0.173 128.1);
Tailwind
colors: {
  custom: {
    50: '#caed91',
    500: '#afe55f',
    950: '#000000',
  },
}
SCSS
$custom: #afe55f;
$custom-light: #caed91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe55f",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 95
  },
  "hsl": {
    "h": 84.179,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85763,
    "c": 0.17276,
    "h": 128.1
  },
  "luminance": 0.65979
}

Semantic roles & 50–950 ramp

primary
#AFE55F
secondary
#693AAF
accent
#11D460
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE55F

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

Preview Lab → · Contrast checker → · Palette generator →

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