#AFE56E#AFE56E

#AFE56E is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 85.9% C 0.160 H 129.5°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#AFE56E
RGBrgb(175, 229, 110)
HSLhsl(87, 70%, 66%)
HSVhsv(87, 52%, 90%)
CMYKcmyk(23.6%, 0%, 52%, 10.2%)
CIE-LABlab(85.14, -36.35, 51.93)
CIE-LCHlch(85.14, 63.39, 124.99°)
OKLaboklab(85.94% -0.1014 0.1232)
OKLCHoklch(85.94% 0.16 129.5)
XYZxyz(48.5126, 66.2774, 24.9857)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE56E #A46EE5
analogous
#E5E06E #AFE56E #74E56E
triadic
#AFE56E #6EAFE5 #E56EAF
tetradic
#AFE56E #6EE5E0 #A46EE5 #E56E74
square
#AFE56E #6EE5E0 #A46EE5 #E56E74
split-complementary
#AFE56E #6E74E5 #E06EE5
monochromatic
#73B821 #92DC3A #AFE56E #CCEEA2 #E8F8D6

Accessibility & contrast

On white

1.47
#AFE56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#AFE56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE56E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE56E#FFFFFF#000000##000000
##AFE56E1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED763
Deuteranopia (green-blind)
#E7D376
Tritanopia (blue-blind)
#B3DCCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe56e;
/* rgb */ color: rgb(175, 229, 110);
/* oklch */ color: oklch(85.9% 0.160 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9ed9a',
    500: '#afe56e',
    950: '#000000',
  },
}
SCSS
$custom: #afe56e;
$custom-light: #c9ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe56e",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 110
  },
  "hsl": {
    "h": 87.227,
    "s": 69.591,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85936,
    "c": 0.1596,
    "h": 129.5
  },
  "luminance": 0.66278
}

Semantic roles & 50–950 ramp

primary
#AFE56E
secondary
#763FB8
accent
#14D26A
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE56E

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

Preview Lab → · Contrast checker → · Palette generator →

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