#AFD995#AFD995

#AFD995 is a very light, moderate yellow-green. Relative luminance 0.609; OKLCH L 83.9% C 0.101 H 133.9°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#AFD995
RGBrgb(175, 217, 149)
HSLhsl(97, 47%, 72%)
HSVhsv(97, 31%, 85%)
CMYKcmyk(19.4%, 0%, 31.3%, 14.9%)
CIE-LABlab(82.33, -25.90, 29.14)
CIE-LCHlch(82.33, 38.99, 131.62°)
OKLaboklab(83.85% -0.0704 0.0731)
OKLCHoklch(83.85% 0.101 133.9)
XYZxyz(47.9157, 60.9087, 37.6600)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD995 #BF95D9
analogous
#D1D995 #AFD995 #95D99D
triadic
#AFD995 #95AFD9 #D995AF
tetradic
#AFD995 #95D1D9 #BF95D9 #D99D95
square
#AFD995 #95D1D9 #BF95D9 #D99D95
split-complementary
#AFD995 #9D95D9 #D995D1
monochromatic
#6CB340 #8DC968 #AFD995 #D1E9C2 #EEF7E8

Accessibility & contrast

On white

1.59
#AFD995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#AFD995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD995
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD995#FFFFFF#000000##000000
##AFD9951.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF91
Deuteranopia (green-blind)
#D8CC98
Tritanopia (blue-blind)
#AFD4C7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afd995;
/* rgb */ color: rgb(175, 217, 149);
/* oklch */ color: oklch(83.9% 0.101 133.9);
Tailwind
colors: {
  custom: {
    50: '#c8e5b4',
    500: '#afd995',
    950: '#000000',
  },
}
SCSS
$custom: #afd995;
$custom-light: #c8e5b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd995",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 149
  },
  "hsl": {
    "h": 97.059,
    "s": 47.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.83852,
    "c": 0.10148,
    "h": 133.9
  },
  "luminance": 0.6091
}

Semantic roles & 50–950 ramp

primary
#AFD995
secondary
#9262B0
accent
#2BBA84
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD995

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

Preview Lab → · Contrast checker → · Palette generator →

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