#AFD56B#AFD56B

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

Color values

HEX#AFD56B
RGBrgb(175, 213, 107)
HSLhsl(82, 56%, 63%)
HSVhsv(82, 50%, 84%)
CMYKcmyk(17.8%, 0%, 49.8%, 16.5%)
CIE-LABlab(80.61, -29.25, 47.92)
CIE-LCHlch(80.61, 56.14, 121.40°)
OKLaboklab(82.27% -0.0819 0.1142)
OKLCHoklch(82.27% 0.141 125.6)
XYZxyz(44.1272, 57.7636, 22.7318)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD56B #916BD5
analogous
#D5C66B #AFD56B #7AD56B
triadic
#AFD56B #6BAFD5 #D56BAF
tetradic
#AFD56B #6BD5C6 #916BD5 #D56B7A
square
#AFD56B #6BD5C6 #916BD5 #D56B7A
split-complementary
#AFD56B #6B7AD5 #C66BD5
monochromatic
#729A2C #95C73B #AFD56B #C9E39B #E3F0CA

Accessibility & contrast

On white

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

On black

12.55
#AFD56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD56B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD56B#FFFFFF#000000##000000
##AFD56B1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd56b;
/* rgb */ color: rgb(175, 213, 107);
/* oklch */ color: oklch(82.3% 0.141 125.6);
Tailwind
colors: {
  custom: {
    50: '#c9e298',
    500: '#afd56b',
    950: '#000000',
  },
}
SCSS
$custom: #afd56b;
$custom-light: #c9e298;
$custom-dark: #000000;
JSON
{
  "hex": "#afd56b",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 81.509,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82269,
    "c": 0.14051,
    "h": 125.6
  },
  "luminance": 0.57764
}

Semantic roles & 50–950 ramp

primary
#AFD56B
secondary
#65469F
accent
#22C35C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD56B

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

Preview Lab → · Contrast checker → · Palette generator →

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