#AFE56B#AFE56B

#AFE56B is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 85.9% C 0.162 H 129.1°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#AFE56B
RGBrgb(175, 229, 107)
HSLhsl(87, 70%, 66%)
HSVhsv(87, 53%, 90%)
CMYKcmyk(23.6%, 0%, 53.3%, 10.2%)
CIE-LABlab(85.11, -36.65, 53.27)
CIE-LCHlch(85.11, 64.66, 124.53°)
OKLaboklab(85.9% -0.1025 0.1259)
OKLCHoklch(85.9% 0.162 129.1)
XYZxyz(48.3520, 66.2131, 24.1400)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE56B #A16BE5
analogous
#E5DE6B #AFE56B #72E56B
triadic
#AFE56B #6BAFE5 #E56BAF
tetradic
#AFE56B #6BE5DE #A16BE5 #E56B72
square
#AFE56B #6BE5DE #A16BE5 #E56B72
split-complementary
#AFE56B #6B72E5 #DE6BE5
monochromatic
#73B620 #93DC37 #AFE56B #CBEE9F #E7F7D3

Accessibility & contrast

On white

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

On black

14.24
#AFE56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE56B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE56B#FFFFFF#000000##000000
##AFE56B1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe56b;
/* rgb */ color: rgb(175, 229, 107);
/* oklch */ color: oklch(85.9% 0.162 129.1);
Tailwind
colors: {
  custom: {
    50: '#c9ed98',
    500: '#afe56b',
    950: '#000000',
  },
}
SCSS
$custom: #afe56b;
$custom-light: #c9ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe56b",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 86.557,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85899,
    "c": 0.16234,
    "h": 129.1
  },
  "luminance": 0.66214
}

Semantic roles & 50–950 ramp

primary
#AFE56B
secondary
#733EB6
accent
#13D268
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE56B

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

Preview Lab → · Contrast checker → · Palette generator →

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