#AFD491#AFD491

#AFD491 is a very light, moderate yellow-green. Relative luminance 0.582; OKLCH L 82.7% C 0.098 H 131.7°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#AFD491
RGBrgb(175, 212, 145)
HSLhsl(93, 44%, 70%)
HSVhsv(93, 32%, 83%)
CMYKcmyk(17.5%, 0%, 31.6%, 16.9%)
CIE-LABlab(80.87, -24.06, 29.26)
CIE-LCHlch(80.87, 37.88, 129.42°)
OKLaboklab(82.66% -0.0654 0.0733)
OKLCHoklch(82.66% 0.098 131.7)
XYZxyz(46.3326, 58.2445, 35.5839)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD491 #B691D4
analogous
#D1D491 #AFD491 #91D494
triadic
#AFD491 #91AFD4 #D491AF
tetradic
#AFD491 #91D1D4 #B691D4 #D49491
square
#AFD491 #91D1D4 #B691D4 #D49491
split-complementary
#AFD491 #9491D4 #D491D1
monochromatic
#70A942 #8FC365 #AFD491 #CFE5BD #EFF6E9

Accessibility & contrast

On white

1.66
#AFD491 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#AFD491 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD491
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD491#FFFFFF#000000##000000
##AFD4911.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACB8D
Deuteranopia (green-blind)
#D4C894
Tritanopia (blue-blind)
#B1CFC3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd491;
/* rgb */ color: rgb(175, 212, 145);
/* oklch */ color: oklch(82.7% 0.098 131.7);
Tailwind
colors: {
  custom: {
    50: '#c7e1b1',
    500: '#afd491',
    950: '#000000',
  },
}
SCSS
$custom: #afd491;
$custom-light: #c7e1b1;
$custom-dark: #000000;
JSON
{
  "hex": "#afd491",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 145
  },
  "hsl": {
    "h": 93.134,
    "s": 43.791,
    "l": 70
  },
  "oklch": {
    "l": 0.82662,
    "c": 0.09818,
    "h": 131.7
  },
  "luminance": 0.58245
}

Semantic roles & 50–950 ramp

primary
#AFD491
secondary
#895FAA
accent
#2FB77A
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131511
muted
#828481

Preview Lab

Preview with #AFD491

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

Preview Lab → · Contrast checker → · Palette generator →

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