#AFE26B#AFE26B

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

Color values

HEX#AFE26B
RGBrgb(175, 226, 107)
HSLhsl(86, 67%, 65%)
HSVhsv(86, 53%, 89%)
CMYKcmyk(22.6%, 0%, 52.7%, 11.4%)
CIE-LABlab(84.26, -35.29, 52.28)
CIE-LCHlch(84.26, 63.07, 124.02°)
OKLaboklab(85.22% -0.0987 0.1238)
OKLCHoklch(85.22% 0.158 128.6)
XYZxyz(47.5291, 64.5673, 23.8657)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE26B #9E6BE2
analogous
#E2D96B #AFE26B #73E26B
triadic
#AFE26B #6BAFE2 #E26BAF
tetradic
#AFE26B #6BE2D9 #9E6BE2 #E26B73
square
#AFE26B #6BE2D9 #9E6BE2 #E26B73
split-complementary
#AFE26B #6B73E2 #D96BE2
monochromatic
#73B023 #93D838 #AFE26B #CBEC9E #E6F6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE26B#FFFFFF#000000##000000
##AFE26B1.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)
#ECD460
Deuteranopia (green-blind)
#E4D173
Tritanopia (blue-blind)
#B3D9C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe26b;
/* rgb */ color: rgb(175, 226, 107);
/* oklch */ color: oklch(85.2% 0.158 128.6);
Tailwind
colors: {
  custom: {
    50: '#c9eb98',
    500: '#afe26b',
    950: '#000000',
  },
}
SCSS
$custom: #afe26b;
$custom-light: #c9eb98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe26b",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 107
  },
  "hsl": {
    "h": 85.714,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85216,
    "c": 0.15829,
    "h": 128.6
  },
  "luminance": 0.64568
}

Semantic roles & 50–950 ramp

primary
#AFE26B
secondary
#7040B1
accent
#16CF66
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE26B

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

Preview Lab → · Contrast checker → · Palette generator →

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