#D7E451#D7E451

#D7E451 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.2% C 0.167 H 114.2°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#D7E451
RGBrgb(215, 228, 81)
HSLhsl(65, 73%, 61%)
HSVhsv(65, 64%, 89%)
CMYKcmyk(5.7%, 0%, 64.5%, 10.6%)
CIE-LABlab(87.26, -22.79, 67.49)
CIE-LCHlch(87.26, 71.24, 108.66°)
OKLaboklab(88.23% -0.0684 0.1526)
OKLCHoklch(88.23% 0.167 114.2)
XYZxyz(57.2544, 70.5290, 18.3804)
Luminance0.7053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E451 #5E51E4
analogous
#E4A751 #D7E451 #8DE451
triadic
#D7E451 #51D7E4 #E451D7
tetradic
#D7E451 #51E4A7 #5E51E4 #E4518D
square
#D7E451 #51E4A7 #5E51E4 #E4518D
split-complementary
#D7E451 #518DE4 #A751E4
monochromatic
#95A219 #C6D721 #D7E451 #E3EC86 #EFF4BB

Accessibility & contrast

On white

1.39
#D7E451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#D7E451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E451
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E451#FFFFFF#000000##000000
##D7E4511.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93D
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#E4D7C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e451;
/* rgb */ color: rgb(215, 228, 81);
/* oklch */ color: oklch(88.2% 0.167 114.2);
Tailwind
colors: {
  custom: {
    50: '#e6ec89',
    500: '#d7e451',
    950: '#000000',
  },
}
SCSS
$custom: #d7e451;
$custom-light: #e6ec89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e451",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 81
  },
  "hsl": {
    "h": 65.306,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88229,
    "c": 0.16725,
    "h": 114.2
  },
  "luminance": 0.70528
}

Semantic roles & 50–950 ramp

primary
#D7E451
secondary
#3F35A4
accent
#10D522
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E451

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

Preview Lab → · Contrast checker → · Palette generator →

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