#AFD856#AFD856

#AFD856 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.7% C 0.163 H 124.7°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#AFD856
RGBrgb(175, 216, 86)
HSLhsl(79, 63%, 59%)
HSVhsv(79, 60%, 85%)
CMYKcmyk(19%, 0%, 60.2%, 15.3%)
CIE-LABlab(81.24, -32.58, 58.17)
CIE-LCHlch(81.24, 66.67, 119.25°)
OKLaboklab(82.71% -0.0929 0.1344)
OKLCHoklch(82.71% 0.163 124.7)
XYZxyz(43.9150, 58.8972, 17.8570)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD856 #7F56D8
analogous
#D8C056 #AFD856 #6ED856
triadic
#AFD856 #56AFD8 #D856AF
tetradic
#AFD856 #56D8C0 #7F56D8 #D8566E
square
#AFD856 #56D8C0 #7F56D8 #D8566E
split-complementary
#AFD856 #566ED8 #C056D8
monochromatic
#6F9222 #94C42D #AFD856 #C7E388 #DEEFB9

Accessibility & contrast

On white

1.64
#AFD856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#AFD856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD856
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD856#FFFFFF#000000##000000
##AFD8561.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB47
Deuteranopia (green-blind)
#DEC95F
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd856;
/* rgb */ color: rgb(175, 216, 86);
/* oklch */ color: oklch(82.7% 0.163 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae48b',
    500: '#afd856',
    950: '#000000',
  },
}
SCSS
$custom: #afd856;
$custom-light: #cae48b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd856",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 78.923,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82706,
    "c": 0.16336,
    "h": 124.7
  },
  "luminance": 0.58898
}

Semantic roles & 50–950 ramp

primary
#AFD856
secondary
#583B97
accent
#42E676
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD856

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

Preview Lab → · Contrast checker → · Palette generator →

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