#AFD56E#AFD56E

#AFD56E is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.3% C 0.138 H 125.9°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#AFD56E
RGBrgb(175, 213, 110)
HSLhsl(82, 55%, 63%)
HSVhsv(82, 48%, 84%)
CMYKcmyk(17.8%, 0%, 48.4%, 16.5%)
CIE-LABlab(80.64, -28.93, 46.53)
CIE-LCHlch(80.64, 54.79, 121.88°)
OKLaboklab(82.31% -0.0807 0.1114)
OKLCHoklch(82.31% 0.138 125.9)
XYZxyz(44.2878, 57.8278, 23.5775)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD56E #946ED5
analogous
#D5C76E #AFD56E #7BD56E
triadic
#AFD56E #6EAFD5 #D56EAF
tetradic
#AFD56E #6ED5C7 #946ED5 #D56E7B
square
#AFD56E #6ED5C7 #946ED5 #D56E7B
split-complementary
#AFD56E #6E7BD5 #C76ED5
monochromatic
#739C2D #95C73F #AFD56E #C9E39D #E3F0CD

Accessibility & contrast

On white

1.67
#AFD56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#AFD56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD56E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD56E#FFFFFF#000000##000000
##AFD56E1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA65
Deuteranopia (green-blind)
#D9C874
Tritanopia (blue-blind)
#B5CDBD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd56e;
/* rgb */ color: rgb(175, 213, 110);
/* oklch */ color: oklch(82.3% 0.138 125.9);
Tailwind
colors: {
  custom: {
    50: '#c9e29a',
    500: '#afd56e',
    950: '#000000',
  },
}
SCSS
$custom: #afd56e;
$custom-light: #c9e29a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd56e",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 110
  },
  "hsl": {
    "h": 82.136,
    "s": 55.08,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8231,
    "c": 0.13755,
    "h": 125.9
  },
  "luminance": 0.57828
}

Semantic roles & 50–950 ramp

primary
#AFD56E
secondary
#6847A0
accent
#23C35E
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD56E

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

Preview Lab → · Contrast checker → · Palette generator →

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