#D7E051#D7E051

#D7E051 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.4% C 0.163 H 112.8°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#D7E051
RGBrgb(215, 224, 81)
HSLhsl(64, 70%, 60%)
HSVhsv(64, 64%, 88%)
CMYKcmyk(4%, 0%, 63.8%, 12.2%)
CIE-LABlab(86.18, -20.86, 66.38)
CIE-LCHlch(86.18, 69.58, 107.45°)
OKLaboklab(87.37% -0.063 0.1503)
OKLCHoklch(87.37% 0.163 112.8)
XYZxyz(56.1667, 68.3536, 18.0178)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E051 #5A51E0
analogous
#E0A151 #D7E051 #90E051
triadic
#D7E051 #51D7E0 #E051D7
tetradic
#D7E051 #51E0A1 #5A51E0 #E05190
square
#D7E051 #51E0A1 #5A51E0 #E05190
split-complementary
#D7E051 #5190E0 #A151E0
monochromatic
#939B1C #C4CF25 #D7E051 #E3E985 #EFF3B9

Accessibility & contrast

On white

1.43
#D7E051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#D7E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E051
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E051#FFFFFF#000000##000000
##D7E0511.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#E5D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e051;
/* rgb */ color: rgb(215, 224, 81);
/* oklch */ color: oklch(87.4% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#e6e989',
    500: '#d7e051',
    950: '#000000',
  },
}
SCSS
$custom: #d7e051;
$custom-light: #e6e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e051",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 63.776,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8737,
    "c": 0.16293,
    "h": 112.8
  },
  "luminance": 0.68352
}

Semantic roles & 50–950 ramp

primary
#D7E051
secondary
#3D379F
accent
#3BED46
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E051

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

Preview Lab → · Contrast checker → · Palette generator →

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