#AFE876#AFE876

#AFE876 is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 86.7% C 0.156 H 130.9°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#AFE876
RGBrgb(175, 232, 118)
HSLhsl(90, 71%, 69%)
HSVhsv(90, 49%, 91%)
CMYKcmyk(24.6%, 0%, 49.1%, 9%)
CIE-LABlab(86.07, -36.87, 49.32)
CIE-LCHlch(86.07, 61.58, 126.78°)
OKLaboklab(86.72% -0.1023 0.1181)
OKLCHoklch(86.72% 0.156 130.9)
XYZxyz(49.8052, 68.1340, 27.6632)
Luminance0.6814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE876 #AF76E8
analogous
#E8E876 #AFE876 #76E876
triadic
#AFE876 #76AFE8 #E876AF
tetradic
#AFE876 #76E8E8 #AF76E8 #E87676
square
#AFE876 #76E8E8 #AF76E8 #E87676
split-complementary
#AFE876 #7676E8 #E876E8
monochromatic
#72C321 #90DF42 #AFE876 #CEF1AA #ECFADF

Accessibility & contrast

On white

1.44
#AFE876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#AFE876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE876
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE876#FFFFFF#000000##000000
##AFE8761.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6C
Deuteranopia (green-blind)
#E8D67D
Tritanopia (blue-blind)
#B2E0CE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe876;
/* rgb */ color: rgb(175, 232, 118);
/* oklch */ color: oklch(86.7% 0.156 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9efa0',
    500: '#afe876',
    950: '#000000',
  },
}
SCSS
$custom: #afe876;
$custom-light: #c9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe876",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 118
  },
  "hsl": {
    "h": 90,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86722,
    "c": 0.15621,
    "h": 130.9
  },
  "luminance": 0.68135
}

Semantic roles & 50–950 ramp

primary
#AFE876
secondary
#8142C0
accent
#12D373
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE876

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

Preview Lab → · Contrast checker → · Palette generator →

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