#AFD86E#AFD86E

#AFD86E is a very light, vivid yellow-green. Relative luminance 0.594; OKLCH L 83.0% C 0.142 H 126.7°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#AFD86E
RGBrgb(175, 216, 110)
HSLhsl(83, 58%, 64%)
HSVhsv(83, 49%, 85%)
CMYKcmyk(19%, 0%, 49.1%, 15.3%)
CIE-LABlab(81.48, -30.35, 47.55)
CIE-LCHlch(81.48, 56.41, 122.55°)
OKLaboklab(82.99% -0.0847 0.1136)
OKLCHoklch(82.99% 0.142 126.7)
XYZxyz(45.0493, 59.3509, 23.8313)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD86E #976ED8
analogous
#D8CC6E #AFD86E #7AD86E
triadic
#AFD86E #6EAFD8 #D86EAF
tetradic
#AFD86E #6ED8CC #976ED8 #D86E7A
square
#AFD86E #6ED8CC #976ED8 #D86E7A
split-complementary
#AFD86E #6E7AD8 #CC6ED8
monochromatic
#73A02B #94CB3E #AFD86E #CAE59E #E4F2CE

Accessibility & contrast

On white

1.63
#AFD86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#AFD86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD86E
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD86E#FFFFFF#000000##000000
##AFD86E1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC65
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#B4D0C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd86e;
/* rgb */ color: rgb(175, 216, 110);
/* oklch */ color: oklch(83.0% 0.142 126.7);
Tailwind
colors: {
  custom: {
    50: '#c9e49a',
    500: '#afd86e',
    950: '#000000',
  },
}
SCSS
$custom: #afd86e;
$custom-light: #c9e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd86e",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 110
  },
  "hsl": {
    "h": 83.208,
    "s": 57.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82987,
    "c": 0.14172,
    "h": 126.7
  },
  "luminance": 0.59351
}

Semantic roles & 50–950 ramp

primary
#AFD86E
secondary
#6A46A4
accent
#20C560
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD86E

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

Preview Lab → · Contrast checker → · Palette generator →

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