#AFE56D#AFE56D

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

Color values

HEX#AFE56D
RGBrgb(175, 229, 109)
HSLhsl(87, 70%, 66%)
HSVhsv(87, 52%, 90%)
CMYKcmyk(23.6%, 0%, 52.4%, 10.2%)
CIE-LABlab(85.13, -36.46, 52.38)
CIE-LCHlch(85.13, 63.82, 124.84°)
OKLaboklab(85.92% -0.1018 0.1241)
OKLCHoklch(85.92% 0.161 129.3)
XYZxyz(48.4584, 66.2557, 24.7006)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE56D #A36DE5
analogous
#E5DF6D #AFE56D #73E56D
triadic
#AFE56D #6DAFE5 #E56DAF
tetradic
#AFE56D #6DE5DF #A36DE5 #E56D73
square
#AFE56D #6DE5DF #A36DE5 #E56D73
split-complementary
#AFE56D #6D73E5 #DF6DE5
monochromatic
#73B721 #93DC39 #AFE56D #CBEEA1 #E8F8D5

Accessibility & contrast

On white

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

On black

14.25
#AFE56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE56D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE56D#FFFFFF#000000##000000
##AFE56D1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe56d;
/* rgb */ color: rgb(175, 229, 109);
/* oklch */ color: oklch(85.9% 0.161 129.3);
Tailwind
colors: {
  custom: {
    50: '#c9ed9a',
    500: '#afe56d',
    950: '#000000',
  },
}
SCSS
$custom: #afe56d;
$custom-light: #c9ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe56d",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 87,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85923,
    "c": 0.16052,
    "h": 129.3
  },
  "luminance": 0.66257
}

Semantic roles & 50–950 ramp

primary
#AFE56D
secondary
#753FB7
accent
#14D269
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE56D

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

Preview Lab → · Contrast checker → · Palette generator →

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