#AFE591#AFE591

#AFE591 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.5% C 0.124 H 135.0°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#AFE591
RGBrgb(175, 229, 145)
HSLhsl(99, 62%, 73%)
HSVhsv(99, 37%, 90%)
CMYKcmyk(23.6%, 0%, 36.7%, 10.2%)
CIE-LABlab(85.60, -32.15, 35.52)
CIE-LCHlch(85.60, 47.91, 132.15°)
OKLaboklab(86.46% -0.0878 0.088)
OKLCHoklch(86.46% 0.124 135)
XYZxyz(50.8081, 67.1956, 37.0757)
Luminance0.6720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE591 #C791E5
analogous
#D9E591 #AFE591 #91E59D
triadic
#AFE591 #91AFE5 #E591AF
tetradic
#AFE591 #91D9E5 #C791E5 #E59D91
square
#AFE591 #91D9E5 #C791E5 #E59D91
split-complementary
#AFE591 #9D91E5 #E591D9
monochromatic
#68CB30 #8BD95F #AFE591 #D3F1C2 #EDF9E6

Accessibility & contrast

On white

1.45
#AFE591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#AFE591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE591
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE591#FFFFFF#000000##000000
##AFE5911.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD98B
Deuteranopia (green-blind)
#E3D496
Tritanopia (blue-blind)
#AFDFD0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe591;
/* rgb */ color: rgb(175, 229, 145);
/* oklch */ color: oklch(86.5% 0.124 135.0);
Tailwind
colors: {
  custom: {
    50: '#c8edb2',
    500: '#afe591',
    950: '#000000',
  },
}
SCSS
$custom: #afe591;
$custom-light: #c8edb2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe591",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 145
  },
  "hsl": {
    "h": 98.571,
    "s": 61.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86462,
    "c": 0.12434,
    "h": 135
  },
  "luminance": 0.67197
}

Semantic roles & 50–950 ramp

primary
#AFE591
secondary
#9B5CBE
accent
#1CC98C
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE591

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

Preview Lab → · Contrast checker → · Palette generator →

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