#D4E151#D4E151

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

Color values

HEX#D4E151
RGBrgb(212, 225, 81)
HSLhsl(65, 71%, 60%)
HSVhsv(65, 64%, 88%)
CMYKcmyk(5.8%, 0%, 64%, 11.8%)
CIE-LABlab(86.23, -22.56, 66.35)
CIE-LCHlch(86.23, 70.08, 108.78°)
OKLaboklab(87.35% -0.0676 0.1503)
OKLCHoklch(87.35% 0.165 114.2)
XYZxyz(55.5632, 68.4426, 18.0667)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E151 #5E51E1
analogous
#E1A651 #D4E151 #8CE151
triadic
#D4E151 #51D4E1 #E151D4
tetradic
#D4E151 #51E1A6 #5E51E1 #E1518C
square
#D4E151 #51E1A6 #5E51E1 #E1518C
split-complementary
#D4E151 #518CE1 #A651E1
monochromatic
#919D1B #C1D124 #D4E151 #E1EA85 #EEF3B9

Accessibility & contrast

On white

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

On black

14.69
#D4E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E151
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E151#FFFFFF#000000##000000
##D4E1511.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e151;
/* rgb */ color: rgb(212, 225, 81);
/* oklch */ color: oklch(87.4% 0.165 114.2);
Tailwind
colors: {
  custom: {
    50: '#e4ea89',
    500: '#d4e151',
    950: '#000000',
  },
}
SCSS
$custom: #d4e151;
$custom-light: #e4ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e151",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 65.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.8735,
    "c": 0.16478,
    "h": 114.2
  },
  "luminance": 0.68442
}

Semantic roles & 50–950 ramp

primary
#D4E151
secondary
#4036A0
accent
#3AED4B
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E151

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

Preview Lab → · Contrast checker → · Palette generator →

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