#D5E051#D5E051

#D5E051 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.2% C 0.163 H 113.5°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#D5E051
RGBrgb(213, 224, 81)
HSLhsl(65, 70%, 60%)
HSVhsv(65, 64%, 88%)
CMYKcmyk(4.9%, 0%, 63.8%, 12.2%)
CIE-LABlab(86.03, -21.67, 66.17)
CIE-LCHlch(86.03, 69.63, 108.14°)
OKLaboklab(87.21% -0.0652 0.1499)
OKLCHoklch(87.21% 0.163 113.5)
XYZxyz(55.5829, 68.0526, 17.9904)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E051 #5C51E0
analogous
#E0A351 #D5E051 #8EE051
triadic
#D5E051 #51D5E0 #E051D5
tetradic
#D5E051 #51E0A3 #5C51E0 #E0518E
square
#D5E051 #51E0A3 #5C51E0 #E0518E
split-complementary
#D5E051 #518EE0 #A351E0
monochromatic
#919B1C #C2CF25 #D5E051 #E2E985 #EEF3B9

Accessibility & contrast

On white

1.44
#D5E051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#D5E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E051
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E051#FFFFFF#000000##000000
##D5E0511.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#EFD95B
Tritanopia (blue-blind)
#E2D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d5e051;
/* rgb */ color: rgb(213, 224, 81);
/* oklch */ color: oklch(87.2% 0.163 113.5);
Tailwind
colors: {
  custom: {
    50: '#e5e989',
    500: '#d5e051',
    950: '#000000',
  },
}
SCSS
$custom: #d5e051;
$custom-light: #e5e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e051",
  "rgb": {
    "r": 213,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 64.615,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87213,
    "c": 0.16343,
    "h": 113.5
  },
  "luminance": 0.68052
}

Semantic roles & 50–950 ramp

primary
#D5E051
secondary
#3F379F
accent
#3BED49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E051

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

Preview Lab → · Contrast checker → · Palette generator →

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