#AFD591#AFD591

#AFD591 is a very light, moderate yellow-green. Relative luminance 0.587; OKLCH L 82.9% C 0.100 H 132.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#AFD591
RGBrgb(175, 213, 145)
HSLhsl(94, 45%, 70%)
HSVhsv(94, 32%, 84%)
CMYKcmyk(17.8%, 0%, 31.9%, 16.5%)
CIE-LABlab(81.15, -24.54, 29.63)
CIE-LCHlch(81.15, 38.48, 129.63°)
OKLaboklab(82.89% -0.0667 0.0741)
OKLCHoklch(82.89% 0.1 132)
XYZxyz(46.5833, 58.7460, 35.6675)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD591 #B791D5
analogous
#D1D591 #AFD591 #91D595
triadic
#AFD591 #91AFD5 #D591AF
tetradic
#AFD591 #91D1D5 #B791D5 #D59591
square
#AFD591 #91D1D5 #B791D5 #D59591
split-complementary
#AFD591 #9591D5 #D591D1
monochromatic
#70AA41 #8FC465 #AFD591 #CFE6BD #EFF7E9

Accessibility & contrast

On white

1.65
#AFD591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#AFD591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD591
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD591#FFFFFF#000000##000000
##AFD5911.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCB8C
Deuteranopia (green-blind)
#D5C994
Tritanopia (blue-blind)
#B0D0C3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd591;
/* rgb */ color: rgb(175, 213, 145);
/* oklch */ color: oklch(82.9% 0.100 132.0);
Tailwind
colors: {
  custom: {
    50: '#c7e2b1',
    500: '#afd591',
    950: '#000000',
  },
}
SCSS
$custom: #afd591;
$custom-light: #c7e2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#afd591",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 145
  },
  "hsl": {
    "h": 93.529,
    "s": 44.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82885,
    "c": 0.09974,
    "h": 132
  },
  "luminance": 0.58747
}

Semantic roles & 50–950 ramp

primary
#AFD591
secondary
#8A5FAB
accent
#2EB87B
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131511
muted
#828481

Preview Lab

Preview with #AFD591

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

Preview Lab → · Contrast checker → · Palette generator →

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