#AFE26D#AFE26D

#AFE26D is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.2% C 0.156 H 128.8°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#AFE26D
RGBrgb(175, 226, 109)
HSLhsl(86, 67%, 66%)
HSVhsv(86, 52%, 89%)
CMYKcmyk(22.6%, 0%, 51.8%, 11.4%)
CIE-LABlab(84.28, -35.09, 51.38)
CIE-LCHlch(84.28, 62.22, 124.33°)
OKLaboklab(85.24% -0.098 0.122)
OKLCHoklch(85.24% 0.156 128.8)
XYZxyz(47.6355, 64.6099, 24.4263)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE26D #A06DE2
analogous
#E2DA6D #AFE26D #74E26D
triadic
#AFE26D #6DAFE2 #E26DAF
tetradic
#AFE26D #6DE2DA #A06DE2 #E26D74
square
#AFE26D #6DE2DA #A06DE2 #E26D74
split-complementary
#AFE26D #6D74E2 #DA6DE2
monochromatic
#73B123 #93D83A #AFE26D #CBECA0 #E7F6D3

Accessibility & contrast

On white

1.51
#AFE26D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#AFE26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE26D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE26D#FFFFFF#000000##000000
##AFE26D1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD562
Deuteranopia (green-blind)
#E4D174
Tritanopia (blue-blind)
#B3D9C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe26d;
/* rgb */ color: rgb(175, 226, 109);
/* oklch */ color: oklch(85.2% 0.156 128.8);
Tailwind
colors: {
  custom: {
    50: '#c9eb9a',
    500: '#afe26d',
    950: '#000000',
  },
}
SCSS
$custom: #afe26d;
$custom-light: #c9eb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe26d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 109
  },
  "hsl": {
    "h": 86.154,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85241,
    "c": 0.15643,
    "h": 128.8
  },
  "luminance": 0.64611
}

Semantic roles & 50–950 ramp

primary
#AFE26D
secondary
#7241B3
accent
#17CF67
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE26D

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

Preview Lab → · Contrast checker → · Palette generator →

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