#D5F971#D5F971

#D5F971 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.9% C 0.167 H 122.1°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#D5F971
RGBrgb(213, 249, 113)
HSLhsl(76, 92%, 71%)
HSVhsv(76, 55%, 98%)
CMYKcmyk(14.5%, 0%, 54.6%, 2.4%)
CIE-LABlab(93.05, -31.14, 60.43)
CIE-LCHlch(93.05, 67.98, 117.26°)
OKLaboklab(92.94% -0.0887 0.1415)
OKLCHoklch(92.94% 0.167 122.1)
XYZxyz(64.2973, 83.0897, 28.2702)
Luminance0.8309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F971 #9571F9
analogous
#F9D971 #D5F971 #91F971
triadic
#D5F971 #71D5F9 #F971D5
tetradic
#D5F971 #71F9D9 #9571F9 #F97191
square
#D5F971 #71F9D9 #9571F9 #F97191
split-complementary
#D5F971 #7191F9 #D971F9
monochromatic
#ACE60A #C4F736 #D5F971 #E6FBAC #F6FEE2

Accessibility & contrast

On white

1.19
#D5F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#D5F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F971
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F971#FFFFFF#000000##000000
##D5F9711.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#DEEEDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d5f971;
/* rgb */ color: rgb(213, 249, 113);
/* oklch */ color: oklch(92.9% 0.167 122.1);
Tailwind
colors: {
  custom: {
    50: '#e4fb9e',
    500: '#d5f971',
    950: '#000000',
  },
}
SCSS
$custom: #d5f971;
$custom-light: #e4fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f971",
  "rgb": {
    "r": 213,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 75.882,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92937,
    "c": 0.16696,
    "h": 122.1
  },
  "luminance": 0.8309
}

Semantic roles & 50–950 ramp

primary
#D5F971
secondary
#633AD4
accent
#00E63D
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D5F971

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

Preview Lab → · Contrast checker → · Palette generator →

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