#D5E751#D5E751

#D5E751 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 88.7% C 0.171 H 115.8°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#D5E751
RGBrgb(213, 231, 81)
HSLhsl(67, 76%, 61%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.8%, 0%, 64.9%, 9.4%)
CIE-LABlab(87.92, -25.03, 68.13)
CIE-LCHlch(87.92, 72.59, 110.17°)
OKLaboklab(88.72% -0.0746 0.154)
OKLCHoklch(88.72% 0.171 115.8)
XYZxyz(57.5030, 71.8929, 18.6305)
Luminance0.7189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E751 #6351E7
analogous
#E7AE51 #D5E751 #8AE751
triadic
#D5E751 #51D5E7 #E751D5
tetradic
#D5E751 #51E7AE #6351E7 #E7518A
square
#D5E751 #51E7AE #6351E7 #E7518A
split-complementary
#D5E751 #518AE7 #AE51E7
monochromatic
#95A717 #C6DC1E #D5E751 #E2EE87 #EFF6BD

Accessibility & contrast

On white

1.37
#D5E751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#D5E751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E751
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E751#FFFFFF#000000##000000
##D5E7511.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC3C
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#E2DAC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d5e751;
/* rgb */ color: rgb(213, 231, 81);
/* oklch */ color: oklch(88.7% 0.171 115.8);
Tailwind
colors: {
  custom: {
    50: '#e5ee89',
    500: '#d5e751',
    950: '#000000',
  },
}
SCSS
$custom: #d5e751;
$custom-light: #e5ee89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e751",
  "rgb": {
    "r": 213,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 67.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88723,
    "c": 0.17111,
    "h": 115.8
  },
  "luminance": 0.71892
}

Semantic roles & 50–950 ramp

primary
#D5E751
secondary
#4234A8
accent
#0ED826
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D5E751

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

Preview Lab → · Contrast checker → · Palette generator →

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