#AFE76F#AFE76F

#AFE76F is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.4% C 0.161 H 129.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#AFE76F
RGBrgb(175, 231, 111)
HSLhsl(88, 71%, 67%)
HSVhsv(88, 52%, 91%)
CMYKcmyk(24.2%, 0%, 51.9%, 9.4%)
CIE-LABlab(85.71, -37.16, 52.15)
CIE-LCHlch(85.71, 64.03, 125.47°)
OKLaboklab(86.4% -0.1036 0.1238)
OKLCHoklch(86.4% 0.161 129.9)
XYZxyz(49.1239, 67.4124, 25.4596)
Luminance0.6741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE76F #A76FE7
analogous
#E7E36F #AFE76F #73E76F
triadic
#AFE76F #6FAFE7 #E76FAF
tetradic
#AFE76F #6FE7E3 #A76FE7 #E76F73
square
#AFE76F #6FE7E3 #A76FE7 #E76F73
split-complementary
#AFE76F #6F73E7 #E36FE7
monochromatic
#73BC1F #92DE3B #AFE76F #CCF0A3 #E9F8D8

Accessibility & contrast

On white

1.45
#AFE76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#AFE76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE76F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE76F#FFFFFF#000000##000000
##AFE76F1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D964
Deuteranopia (green-blind)
#E8D577
Tritanopia (blue-blind)
#B3DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe76f;
/* rgb */ color: rgb(175, 231, 111);
/* oklch */ color: oklch(86.4% 0.161 129.9);
Tailwind
colors: {
  custom: {
    50: '#c9ef9b',
    500: '#afe76f',
    950: '#000000',
  },
}
SCSS
$custom: #afe76f;
$custom-light: #c9ef9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe76f",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 88,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86404,
    "c": 0.1614,
    "h": 129.9
  },
  "luminance": 0.67413
}

Semantic roles & 50–950 ramp

primary
#AFE76F
secondary
#793FBC
accent
#12D36C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE76F

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

Preview Lab → · Contrast checker → · Palette generator →

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