#AFEC76#AFEC76

#AFEC76 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.6% C 0.162 H 131.5°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#AFEC76
RGBrgb(175, 236, 118)
HSLhsl(91, 76%, 69%)
HSVhsv(91, 50%, 93%)
CMYKcmyk(25.8%, 0%, 50%, 7.5%)
CIE-LABlab(87.20, -38.67, 50.68)
CIE-LCHlch(87.20, 63.75, 127.34°)
OKLaboklab(87.63% -0.1073 0.1211)
OKLCHoklch(87.63% 0.162 131.5)
XYZxyz(50.9439, 70.4115, 28.0428)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC76 #B376EC
analogous
#EAEC76 #AFEC76 #76EC78
triadic
#AFEC76 #76AFEC #EC76AF
tetradic
#AFEC76 #76EAEC #B376EC #EC7876
square
#AFEC76 #76EAEC #B376EC #EC7876
split-complementary
#AFEC76 #7876EC #EC76EA
monochromatic
#71CB1C #90E540 #AFEC76 #CEF3AC #EEFBE1

Accessibility & contrast

On white

1.39
#AFEC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#AFEC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC76
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC76#FFFFFF#000000##000000
##AFEC761.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD6C
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#B1E4D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec76;
/* rgb */ color: rgb(175, 236, 118);
/* oklch */ color: oklch(87.6% 0.162 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9f2a0',
    500: '#afec76',
    950: '#000000',
  },
}
SCSS
$custom: #afec76;
$custom-light: #c9f2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afec76",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 91.017,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87632,
    "c": 0.16176,
    "h": 131.5
  },
  "luminance": 0.70413
}

Semantic roles & 50–950 ramp

primary
#AFEC76
secondary
#8541C5
accent
#0ED876
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEC76

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

Preview Lab → · Contrast checker → · Palette generator →

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