#AFD56C#AFD56C

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

Color values

HEX#AFD56C
RGBrgb(175, 213, 108)
HSLhsl(82, 56%, 63%)
HSVhsv(82, 49%, 84%)
CMYKcmyk(17.8%, 0%, 49.3%, 16.5%)
CIE-LABlab(80.62, -29.14, 47.46)
CIE-LCHlch(80.62, 55.69, 121.56°)
OKLaboklab(82.28% -0.0815 0.1133)
OKLCHoklch(82.28% 0.14 125.7)
XYZxyz(44.1801, 57.7847, 23.0105)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD56C #926CD5
analogous
#D5C66C #AFD56C #7AD56C
triadic
#AFD56C #6CAFD5 #D56CAF
tetradic
#AFD56C #6CD5C6 #926CD5 #D56C7A
square
#AFD56C #6CD5C6 #926CD5 #D56C7A
split-complementary
#AFD56C #6C7AD5 #C66CD5
monochromatic
#739A2C #95C73C #AFD56C #C9E39C #E3F0CB

Accessibility & contrast

On white

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

On black

12.56
#AFD56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD56C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD56C#FFFFFF#000000##000000
##AFD56C1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd56c;
/* rgb */ color: rgb(175, 213, 108);
/* oklch */ color: oklch(82.3% 0.140 125.7);
Tailwind
colors: {
  custom: {
    50: '#c9e298',
    500: '#afd56c',
    950: '#000000',
  },
}
SCSS
$custom: #afd56c;
$custom-light: #c9e298;
$custom-dark: #000000;
JSON
{
  "hex": "#afd56c",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 81.714,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.13953,
    "h": 125.7
  },
  "luminance": 0.57785
}

Semantic roles & 50–950 ramp

primary
#AFD56C
secondary
#66469F
accent
#22C35D
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD56C

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

Preview Lab → · Contrast checker → · Palette generator →

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