#AFE56F#AFE56F

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

Color values

HEX#AFE56F
RGBrgb(175, 229, 111)
HSLhsl(87, 69%, 67%)
HSVhsv(87, 52%, 90%)
CMYKcmyk(23.6%, 0%, 51.5%, 10.2%)
CIE-LABlab(85.15, -36.25, 51.48)
CIE-LCHlch(85.15, 62.96, 125.15°)
OKLaboklab(85.95% -0.1011 0.1223)
OKLCHoklch(85.95% 0.159 129.6)
XYZxyz(48.5673, 66.2993, 25.2741)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE56F #A56FE5
analogous
#E5E06F #AFE56F #74E56F
triadic
#AFE56F #6FAFE5 #E56FAF
tetradic
#AFE56F #6FE5E0 #A56FE5 #E56F74
square
#AFE56F #6FE5E0 #A56FE5 #E56F74
split-complementary
#AFE56F #6F74E5 #E06FE5
monochromatic
#73B821 #92DC3B #AFE56F #CCEEA3 #E9F8D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE56F#FFFFFF#000000##000000
##AFE56F1.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)
#EED764
Deuteranopia (green-blind)
#E7D376
Tritanopia (blue-blind)
#B3DCCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe56f;
/* rgb */ color: rgb(175, 229, 111);
/* oklch */ color: oklch(85.9% 0.159 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9ed9b',
    500: '#afe56f',
    950: '#000000',
  },
}
SCSS
$custom: #afe56f;
$custom-light: #c9ed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe56f",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 87.458,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85949,
    "c": 0.15867,
    "h": 129.6
  },
  "luminance": 0.663
}

Semantic roles & 50–950 ramp

primary
#AFE56F
secondary
#7740B8
accent
#14D16B
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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