#AFE879#AFE879

#AFE879 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.8% C 0.153 H 131.3°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#AFE879
RGBrgb(175, 232, 121)
HSLhsl(91, 71%, 69%)
HSVhsv(91, 48%, 91%)
CMYKcmyk(24.6%, 0%, 47.8%, 9%)
CIE-LABlab(86.11, -36.54, 47.94)
CIE-LCHlch(86.11, 60.28, 127.31°)
OKLaboklab(86.76% -0.1012 0.1152)
OKLCHoklch(86.76% 0.153 131.3)
XYZxyz(49.9863, 68.2065, 28.6170)
Luminance0.6821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE879 #B279E8
analogous
#E7E879 #AFE879 #79E87B
triadic
#AFE879 #79AFE8 #E879AF
tetradic
#AFE879 #79E7E8 #B279E8 #E87B79
square
#AFE879 #79E7E8 #B279E8 #E87B79
split-complementary
#AFE879 #7B79E8 #E879E7
monochromatic
#71C522 #90DF45 #AFE879 #CEF1AD #EDFAE1

Accessibility & contrast

On white

1.43
#AFE879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#AFE879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE879
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE879#FFFFFF#000000##000000
##AFE8791.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA70
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#B1E0CE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe879;
/* rgb */ color: rgb(175, 232, 121);
/* oklch */ color: oklch(86.8% 0.153 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9efa2',
    500: '#afe879',
    950: '#000000',
  },
}
SCSS
$custom: #afe879;
$custom-light: #c9efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe879",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 90.811,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86763,
    "c": 0.15333,
    "h": 131.3
  },
  "luminance": 0.68208
}

Semantic roles & 50–950 ramp

primary
#AFE879
secondary
#8445C0
accent
#13D375
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE879

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

Preview Lab → · Contrast checker → · Palette generator →

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