#AFE291#AFE291

#AFE291 is a very light, moderate yellow-green. Relative luminance 0.656; OKLCH L 85.8% C 0.120 H 134.5°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#AFE291
RGBrgb(175, 226, 145)
HSLhsl(98, 58%, 73%)
HSVhsv(98, 36%, 89%)
CMYKcmyk(22.6%, 0%, 35.8%, 11.4%)
CIE-LABlab(84.77, -30.75, 34.42)
CIE-LCHlch(84.77, 46.16, 131.78°)
OKLaboklab(85.79% -0.084 0.0854)
OKLCHoklch(85.79% 0.12 134.5)
XYZxyz(49.9852, 65.5498, 36.8014)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE291 #C491E2
analogous
#D7E291 #AFE291 #91E29C
triadic
#AFE291 #91AFE2 #E291AF
tetradic
#AFE291 #91D7E2 #C491E2 #E29C91
square
#AFE291 #91D7E2 #C491E2 #E29C91
split-complementary
#AFE291 #9C91E2 #E291D7
monochromatic
#6AC534 #8CD561 #AFE291 #D2EFC1 #EDF9E7

Accessibility & contrast

On white

1.49
#AFE291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#AFE291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE291
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE291#FFFFFF#000000##000000
##AFE2911.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D68B
Deuteranopia (green-blind)
#E0D295
Tritanopia (blue-blind)
#AFDCCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe291;
/* rgb */ color: rgb(175, 226, 145);
/* oklch */ color: oklch(85.8% 0.120 134.5);
Tailwind
colors: {
  custom: {
    50: '#c8ebb2',
    500: '#afe291',
    950: '#000000',
  },
}
SCSS
$custom: #afe291;
$custom-light: #c8ebb2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe291",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 145
  },
  "hsl": {
    "h": 97.778,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.85789,
    "c": 0.11979,
    "h": 134.5
  },
  "luminance": 0.65551
}

Semantic roles & 50–950 ramp

primary
#AFE291
secondary
#985DBB
accent
#20C688
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE291

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

Preview Lab → · Contrast checker → · Palette generator →

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