#AFE156#AFE156

#AFE156 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.8% C 0.175 H 126.6°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE156
RGBrgb(175, 225, 86)
HSLhsl(82, 70%, 61%)
HSVhsv(82, 62%, 88%)
CMYKcmyk(22.2%, 0%, 61.8%, 11.8%)
CIE-LABlab(83.78, -36.70, 60.96)
CIE-LCHlch(83.78, 71.16, 121.05°)
OKLaboklab(84.76% -0.1043 0.1403)
OKLCHoklch(84.76% 0.175 126.6)
XYZxyz(46.2842, 63.6356, 18.6467)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE156 #8856E1
analogous
#E1CD56 #AFE156 #69E156
triadic
#AFE156 #56AFE1 #E156AF
tetradic
#AFE156 #56E1CD #8856E1 #E15669
square
#AFE156 #56E1CD #8856E1 #E15669
split-complementary
#AFE156 #5669E1 #CD56E1
monochromatic
#71A01C #95D426 #AFE156 #C8EA8A #E0F3BE

Accessibility & contrast

On white

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

On black

13.73
#AFE156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE156
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE156#FFFFFF#000000##000000
##AFE1561.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe156;
/* rgb */ color: rgb(175, 225, 86);
/* oklch */ color: oklch(84.8% 0.175 126.6);
Tailwind
colors: {
  custom: {
    50: '#caea8b',
    500: '#afe156',
    950: '#000000',
  },
}
SCSS
$custom: #afe156;
$custom-light: #caea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe156",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 81.583,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84759,
    "c": 0.17483,
    "h": 126.6
  },
  "luminance": 0.63636
}

Semantic roles & 50–950 ramp

primary
#AFE156
secondary
#5F38A3
accent
#14D258
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE156

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

Preview Lab → · Contrast checker → · Palette generator →

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