#AFD879#AFD879

#AFD879 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.1% C 0.131 H 128.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#AFD879
RGBrgb(175, 216, 121)
HSLhsl(86, 55%, 66%)
HSVhsv(86, 44%, 85%)
CMYKcmyk(19%, 0%, 44%, 15.3%)
CIE-LABlab(81.62, -29.12, 42.38)
CIE-LCHlch(81.62, 51.42, 124.50°)
OKLaboklab(83.15% -0.0805 0.1028)
OKLCHoklch(83.15% 0.131 128.1)
XYZxyz(45.6858, 59.6055, 27.1835)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD879 #A279D8
analogous
#D8D179 #AFD879 #7FD879
triadic
#AFD879 #79AFD8 #D879AF
tetradic
#AFD879 #79D8D1 #A279D8 #D8797F
square
#AFD879 #79D8D1 #A279D8 #D8797F
split-complementary
#AFD879 #797FD8 #D179D8
monochromatic
#73A630 #93CA4A #AFD879 #CBE6A8 #E8F4D8

Accessibility & contrast

On white

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

On black

12.92
#AFD879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD879
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD879#FFFFFF#000000##000000
##AFD8791.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD71
Deuteranopia (green-blind)
#DBCA7E
Tritanopia (blue-blind)
#B3D0C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd879;
/* rgb */ color: rgb(175, 216, 121);
/* oklch */ color: oklch(83.1% 0.131 128.1);
Tailwind
colors: {
  custom: {
    50: '#c8e4a1',
    500: '#afd879',
    950: '#000000',
  },
}
SCSS
$custom: #afd879;
$custom-light: #c8e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afd879",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 85.895,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83145,
    "c": 0.13055,
    "h": 128.1
  },
  "luminance": 0.59606
}

Semantic roles & 50–950 ramp

primary
#AFD879
secondary
#744BAA
accent
#23C268
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD879

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

Preview Lab → · Contrast checker → · Palette generator →

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