#D7E951#D7E951

#D7E951 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.3% C 0.173 H 115.8°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#D7E951
RGBrgb(215, 233, 81)
HSLhsl(67, 78%, 62%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.7%, 0%, 65.2%, 8.6%)
CIE-LABlab(88.60, -25.19, 68.89)
CIE-LCHlch(88.60, 73.35, 110.08°)
OKLaboklab(89.31% -0.0751 0.1555)
OKLCHoklch(89.31% 0.173 115.8)
XYZxyz(58.6498, 73.3198, 18.8455)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E951 #6351E9
analogous
#E9AF51 #D7E951 #8BE951
triadic
#D7E951 #51D7E9 #E951D7
tetradic
#D7E951 #51E9AF #6351E9 #E9518B
square
#D7E951 #51E9AF #6351E9 #E9518B
split-complementary
#D7E951 #518BE9 #AF51E9
monochromatic
#99AA16 #C9E01C #D7E951 #E3F087 #F0F7BE

Accessibility & contrast

On white

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

On black

15.66
#D7E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E951
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E951#FFFFFF#000000##000000
##D7E9511.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD3C
Deuteranopia (green-blind)
#F7E05C
Tritanopia (blue-blind)
#E4DCCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e951;
/* rgb */ color: rgb(215, 233, 81);
/* oklch */ color: oklch(89.3% 0.173 115.8);
Tailwind
colors: {
  custom: {
    50: '#e7ef89',
    500: '#d7e951',
    950: '#000000',
  },
}
SCSS
$custom: #d7e951;
$custom-light: #e7ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e951",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 67.105,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89307,
    "c": 0.17273,
    "h": 115.8
  },
  "luminance": 0.73319
}

Semantic roles & 50–950 ramp

primary
#D7E951
secondary
#4133AB
accent
#0CDA24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E951

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

Preview Lab → · Contrast checker → · Palette generator →

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