#AFE858#AFE858

#AFE858 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.4% C 0.182 H 128.1°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#AFE858
RGBrgb(175, 232, 88)
HSLhsl(84, 76%, 63%)
HSVhsv(84, 62%, 91%)
CMYKcmyk(24.6%, 0%, 62.1%, 9%)
CIE-LABlab(85.77, -39.68, 62.31)
CIE-LCHlch(85.77, 73.87, 122.49°)
OKLaboklab(86.38% -0.1124 0.1434)
OKLCHoklch(86.38% 0.182 128.1)
XYZxyz(48.2971, 67.5308, 19.7208)
Luminance0.6753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE858 #9158E8
analogous
#E8D958 #AFE858 #67E858
triadic
#AFE858 #58AFE8 #E858AF
tetradic
#AFE858 #58E8D9 #9158E8 #E85867
square
#AFE858 #58E8D9 #9158E8 #E85867
split-complementary
#AFE858 #5867E8 #D958E8
monochromatic
#72AE18 #95E122 #AFE858 #C9EF8E #E3F7C4

Accessibility & contrast

On white

1.45
#AFE858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#AFE858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE858
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE858#FFFFFF#000000##000000
##AFE8581.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#EBD563
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe858;
/* rgb */ color: rgb(175, 232, 88);
/* oklch */ color: oklch(86.4% 0.182 128.1);
Tailwind
colors: {
  custom: {
    50: '#caef8d',
    500: '#afe858',
    950: '#000000',
  },
}
SCSS
$custom: #afe858;
$custom-light: #caef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe858",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 88
  },
  "hsl": {
    "h": 83.75,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8638,
    "c": 0.18218,
    "h": 128.1
  },
  "luminance": 0.67532
}

Semantic roles & 50–950 ramp

primary
#AFE858
secondary
#6536AF
accent
#0ED85E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE858

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

Preview Lab → · Contrast checker → · Palette generator →

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