#AFE26A#AFE26A

#AFE26A is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.2% C 0.159 H 128.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#AFE26A
RGBrgb(175, 226, 106)
HSLhsl(86, 67%, 65%)
HSVhsv(86, 53%, 89%)
CMYKcmyk(22.6%, 0%, 53.1%, 11.4%)
CIE-LABlab(84.25, -35.39, 52.72)
CIE-LCHlch(84.25, 63.50, 123.87°)
OKLaboklab(85.2% -0.099 0.1246)
OKLCHoklch(85.2% 0.159 128.5)
XYZxyz(47.4768, 64.5464, 23.5903)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE26A #9D6AE2
analogous
#E2D96A #AFE26A #73E26A
triadic
#AFE26A #6AAFE2 #E26AAF
tetradic
#AFE26A #6AE2D9 #9D6AE2 #E26A73
square
#AFE26A #6AE2D9 #9D6AE2 #E26A73
split-complementary
#AFE26A #6A73E2 #D96AE2
monochromatic
#73AF22 #93D837 #AFE26A #CBEC9D #E6F6D0

Accessibility & contrast

On white

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

On black

13.91
#AFE26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE26A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE26A#FFFFFF#000000##000000
##AFE26A1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45F
Deuteranopia (green-blind)
#E4D172
Tritanopia (blue-blind)
#B4D9C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe26a;
/* rgb */ color: rgb(175, 226, 106);
/* oklch */ color: oklch(85.2% 0.159 128.5);
Tailwind
colors: {
  custom: {
    50: '#c9eb98',
    500: '#afe26a',
    950: '#000000',
  },
}
SCSS
$custom: #afe26a;
$custom-light: #c9eb98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe26a",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 106
  },
  "hsl": {
    "h": 85.5,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85204,
    "c": 0.1592,
    "h": 128.5
  },
  "luminance": 0.64547
}

Semantic roles & 50–950 ramp

primary
#AFE26A
secondary
#703FB1
accent
#16CF65
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE26A

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

Preview Lab → · Contrast checker → · Palette generator →

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