#AFE391#AFE391

#AFE391 is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 86.0% C 0.121 H 134.7°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#AFE391
RGBrgb(175, 227, 145)
HSLhsl(98, 59%, 73%)
HSVhsv(98, 36%, 89%)
CMYKcmyk(22.9%, 0%, 36.1%, 11%)
CIE-LABlab(85.05, -31.22, 34.79)
CIE-LCHlch(85.05, 46.74, 131.91°)
OKLaboklab(86.01% -0.0853 0.0863)
OKLCHoklch(86.01% 0.121 134.7)
XYZxyz(50.2579, 66.0952, 36.8923)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE391 #C591E3
analogous
#D8E391 #AFE391 #91E39C
triadic
#AFE391 #91AFE3 #E391AF
tetradic
#AFE391 #91D8E3 #C591E3 #E39C91
square
#AFE391 #91D8E3 #C591E3 #E39C91
split-complementary
#AFE391 #9C91E3 #E391D8
monochromatic
#69C733 #8CD760 #AFE391 #D2EFC2 #EDF9E7

Accessibility & contrast

On white

1.48
#AFE391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#AFE391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE391
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE391#FFFFFF#000000##000000
##AFE3911.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D78B
Deuteranopia (green-blind)
#E1D395
Tritanopia (blue-blind)
#AFDDCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe391;
/* rgb */ color: rgb(175, 227, 145);
/* oklch */ color: oklch(86.0% 0.121 134.7);
Tailwind
colors: {
  custom: {
    50: '#c8ecb2',
    500: '#afe391',
    950: '#000000',
  },
}
SCSS
$custom: #afe391;
$custom-light: #c8ecb2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe391",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 145
  },
  "hsl": {
    "h": 98.049,
    "s": 59.42,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86013,
    "c": 0.12131,
    "h": 134.7
  },
  "luminance": 0.66096
}

Semantic roles & 50–950 ramp

primary
#AFE391
secondary
#995CBC
accent
#1EC789
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE391

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

Preview Lab → · Contrast checker → · Palette generator →

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