#AFE76B#AFE76B

#AFE76B is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.4% C 0.165 H 129.5°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#AFE76B
RGBrgb(175, 231, 107)
HSLhsl(87, 72%, 66%)
HSVhsv(87, 54%, 91%)
CMYKcmyk(24.2%, 0%, 53.7%, 9.4%)
CIE-LABlab(85.67, -37.56, 53.93)
CIE-LCHlch(85.67, 65.72, 124.85°)
OKLaboklab(86.36% -0.105 0.1274)
OKLCHoklch(86.36% 0.165 129.5)
XYZxyz(48.9085, 67.3263, 24.3256)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE76B #A36BE7
analogous
#E7E16B #AFE76B #71E76B
triadic
#AFE76B #6BAFE7 #E76BAF
tetradic
#AFE76B #6BE7E1 #A36BE7 #E76B71
square
#AFE76B #6BE7E1 #A36BE7 #E76B71
split-complementary
#AFE76B #6B71E7 #E16BE7
monochromatic
#73BA1E #93DE36 #AFE76B #CBF0A0 #E8F8D4

Accessibility & contrast

On white

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

On black

14.47
#AFE76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE76B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE76B#FFFFFF#000000##000000
##AFE76B1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95F
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#B3DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe76b;
/* rgb */ color: rgb(175, 231, 107);
/* oklch */ color: oklch(86.4% 0.165 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9ef99',
    500: '#afe76b',
    950: '#000000',
  },
}
SCSS
$custom: #afe76b;
$custom-light: #c9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe76b",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 87.097,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86355,
    "c": 0.16505,
    "h": 129.5
  },
  "luminance": 0.67327
}

Semantic roles & 50–950 ramp

primary
#AFE76B
secondary
#753DB9
accent
#11D469
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE76B

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

Preview Lab → · Contrast checker → · Palette generator →

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