#D7E970#D7E970

#D7E970 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.6% C 0.147 H 116.5°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#D7E970
RGBrgb(215, 233, 112)
HSLhsl(69, 73%, 68%)
HSVhsv(69, 52%, 91%)
CMYKcmyk(7.7%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.87, -22.91, 56.07)
CIE-LCHlch(88.87, 60.57, 112.23°)
OKLaboklab(89.61% -0.0657 0.1319)
OKLCHoklch(89.61% 0.147 116.5)
XYZxyz(60.0887, 73.8954, 26.4239)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E970 #8270E9
analogous
#E9BF70 #D7E970 #9AE970
triadic
#D7E970 #70D7E9 #E970D7
tetradic
#D7E970 #70E9BF #8270E9 #E9709A
square
#D7E970 #70E9BF #8270E9 #E9709A
split-complementary
#D7E970 #709AE9 #BF70E9
monochromatic
#A9C11E #C8E13B #D7E970 #E6F1A5 #F5F9DA

Accessibility & contrast

On white

1.33
#D7E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#D7E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E970
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E970#FFFFFF#000000##000000
##D7E9701.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF64
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#E2DECE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7e970;
/* rgb */ color: rgb(215, 233, 112);
/* oklch */ color: oklch(89.6% 0.147 116.5);
Tailwind
colors: {
  custom: {
    50: '#e5f09c',
    500: '#d7e970',
    950: '#000000',
  },
}
SCSS
$custom: #d7e970;
$custom-light: #e5f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e970",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 68.926,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89613,
    "c": 0.14738,
    "h": 116.5
  },
  "luminance": 0.73895
}

Semantic roles & 50–950 ramp

primary
#D7E970
secondary
#513EC0
accent
#10D52D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D7E970

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

Preview Lab → · Contrast checker → · Palette generator →

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