#D4E051#D4E051

#D4E051 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.1% C 0.164 H 113.9°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#D4E051
RGBrgb(212, 224, 81)
HSLhsl(65, 70%, 60%)
HSVhsv(65, 64%, 88%)
CMYKcmyk(5.4%, 0%, 63.8%, 12.2%)
CIE-LABlab(85.96, -22.08, 66.07)
CIE-LCHlch(85.96, 69.66, 108.48°)
OKLaboklab(87.14% -0.0663 0.1497)
OKLCHoklch(87.14% 0.164 113.9)
XYZxyz(55.2937, 67.9035, 17.9769)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E051 #5D51E0
analogous
#E0A551 #D4E051 #8DE051
triadic
#D4E051 #51D4E0 #E051D4
tetradic
#D4E051 #51E0A5 #5D51E0 #E0518D
square
#D4E051 #51E0A5 #5D51E0 #E0518D
split-complementary
#D4E051 #518DE0 #A551E0
monochromatic
#909B1C #C1CF25 #D4E051 #E1E985 #EEF3B9

Accessibility & contrast

On white

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

On black

14.58
#D4E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E051
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E051#FFFFFF#000000##000000
##D4E0511.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e051;
/* rgb */ color: rgb(212, 224, 81);
/* oklch */ color: oklch(87.1% 0.164 113.9);
Tailwind
colors: {
  custom: {
    50: '#e4e989',
    500: '#d4e051',
    950: '#000000',
  },
}
SCSS
$custom: #d4e051;
$custom-light: #e4e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e051",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 65.035,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87135,
    "c": 0.16369,
    "h": 113.9
  },
  "luminance": 0.67902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4E051

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

Preview Lab → · Contrast checker → · Palette generator →

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