#AFE96E#AFE96E

#AFE96E is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 86.8% C 0.165 H 130.2°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#AFE96E
RGBrgb(175, 233, 110)
HSLhsl(88, 74%, 67%)
HSVhsv(88, 53%, 91%)
CMYKcmyk(24.9%, 0%, 52.8%, 8.6%)
CIE-LABlab(86.26, -38.16, 53.27)
CIE-LCHlch(86.26, 65.52, 125.62°)
OKLaboklab(86.85% -0.1064 0.1262)
OKLCHoklch(86.85% 0.165 130.2)
XYZxyz(49.6321, 68.5164, 25.3589)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE96E #A86EE9
analogous
#E9E66E #AFE96E #71E96E
triadic
#AFE96E #6EAFE9 #E96EAF
tetradic
#AFE96E #6EE9E6 #A86EE9 #E96E71
square
#AFE96E #6EE9E6 #A86EE9 #E96E71
split-complementary
#AFE96E #6E71E9 #E66EE9
monochromatic
#73C01D #92E139 #AFE96E #CCF1A3 #EAF9D8

Accessibility & contrast

On white

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

On black

14.70
#AFE96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE96E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE96E#FFFFFF#000000##000000
##AFE96E1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB62
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#B2E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe96e;
/* rgb */ color: rgb(175, 233, 110);
/* oklch */ color: oklch(86.8% 0.165 130.2);
Tailwind
colors: {
  custom: {
    50: '#c9f09b',
    500: '#afe96e',
    950: '#000000',
  },
}
SCSS
$custom: #afe96e;
$custom-light: #c9f09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe96e",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 110
  },
  "hsl": {
    "h": 88.293,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86847,
    "c": 0.16505,
    "h": 130.2
  },
  "luminance": 0.68518
}

Semantic roles & 50–950 ramp

primary
#AFE96E
secondary
#7A3DBE
accent
#10D66D
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE96E

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

Preview Lab → · Contrast checker → · Palette generator →

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