#D5E970#D5E970

#D5E970 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.5% C 0.148 H 117.3°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#D5E970
RGBrgb(213, 233, 112)
HSLhsl(70, 73%, 68%)
HSVhsv(70, 52%, 91%)
CMYKcmyk(8.6%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.73, -23.69, 55.86)
CIE-LCHlch(88.73, 60.68, 112.98°)
OKLaboklab(89.46% -0.0678 0.1315)
OKLCHoklch(89.46% 0.148 117.3)
XYZxyz(59.5049, 73.5944, 26.3965)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E970 #8470E9
analogous
#E9C070 #D5E970 #99E970
triadic
#D5E970 #70D5E9 #E970D5
tetradic
#D5E970 #70E9C0 #8470E9 #E97099
square
#D5E970 #70E9C0 #8470E9 #E97099
split-complementary
#D5E970 #7099E9 #C070E9
monochromatic
#A6C11E #C5E13B #D5E970 #E5F1A5 #F4F9DA

Accessibility & contrast

On white

1.34
#D5E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#D5E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E970
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E970#FFFFFF#000000##000000
##D5E9701.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE64
Deuteranopia (green-blind)
#F4E077
Tritanopia (blue-blind)
#E0DECE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d5e970;
/* rgb */ color: rgb(213, 233, 112);
/* oklch */ color: oklch(89.5% 0.148 117.3);
Tailwind
colors: {
  custom: {
    50: '#e4f09c',
    500: '#d5e970',
    950: '#000000',
  },
}
SCSS
$custom: #d5e970;
$custom-light: #e4f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e970",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 69.917,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89463,
    "c": 0.14796,
    "h": 117.3
  },
  "luminance": 0.73594
}

Semantic roles & 50–950 ramp

primary
#D5E970
secondary
#533EC0
accent
#10D531
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D5E970

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

Preview Lab → · Contrast checker → · Palette generator →

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