#AFD87A#AFD87A

#AFD87A is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.2% C 0.130 H 128.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#AFD87A
RGBrgb(175, 216, 122)
HSLhsl(86, 55%, 66%)
HSVhsv(86, 44%, 85%)
CMYKcmyk(19%, 0%, 43.5%, 15.3%)
CIE-LABlab(81.64, -29.00, 41.91)
CIE-LCHlch(81.64, 50.96, 124.69°)
OKLaboklab(83.16% -0.0801 0.1018)
OKLCHoklch(83.16% 0.13 128.2)
XYZxyz(45.7475, 59.6302, 27.5082)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD87A #A37AD8
analogous
#D8D27A #AFD87A #80D87A
triadic
#AFD87A #7AAFD8 #D87AAF
tetradic
#AFD87A #7AD8D2 #A37AD8 #D87A80
square
#AFD87A #7AD8D2 #A37AD8 #D87A80
split-complementary
#AFD87A #7A80D8 #D27AD8
monochromatic
#73A731 #93CA4B #AFD87A #CBE6A9 #E8F4D9

Accessibility & contrast

On white

1.62
#AFD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#AFD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD87A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD87A#FFFFFF#000000##000000
##AFD87A1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD73
Deuteranopia (green-blind)
#DACA7F
Tritanopia (blue-blind)
#B3D1C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd87a;
/* rgb */ color: rgb(175, 216, 122);
/* oklch */ color: oklch(83.2% 0.130 128.2);
Tailwind
colors: {
  custom: {
    50: '#c8e4a2',
    500: '#afd87a',
    950: '#000000',
  },
}
SCSS
$custom: #afd87a;
$custom-light: #c8e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd87a",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 86.17,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8316,
    "c": 0.12951,
    "h": 128.2
  },
  "luminance": 0.59631
}

Semantic roles & 50–950 ramp

primary
#AFD87A
secondary
#754CAA
accent
#23C269
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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