#D4E378#D4E378

#D4E378 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.2% C 0.133 H 115.8°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#D4E378
RGBrgb(212, 227, 120)
HSLhsl(68, 66%, 68%)
HSVhsv(68, 47%, 89%)
CMYKcmyk(6.6%, 0%, 47.1%, 11%)
CIE-LABlab(87.14, -20.44, 50.23)
CIE-LCHlch(87.14, 54.23, 112.15°)
OKLaboklab(88.2% -0.0578 0.1199)
OKLCHoklch(88.2% 0.133 115.8)
XYZxyz(58.0113, 70.2919, 28.2773)
Luminance0.7029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E378 #8778E3
analogous
#E3BC78 #D4E378 #9EE378
triadic
#D4E378 #78D4E3 #E378D4
tetradic
#D4E378 #78E3BC #8778E3 #E3789E
square
#D4E378 #78E3BC #8778E3 #E3789E
split-complementary
#D4E378 #789EE3 #BC78E3
monochromatic
#A5BA27 #C4D845 #D4E378 #E4EEAB #F4F8DD

Accessibility & contrast

On white

1.39
#D4E378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#D4E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E378
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E378#FFFFFF#000000##000000
##D4E3781.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#EFDB7E
Tritanopia (blue-blind)
#DED9CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d4e378;
/* rgb */ color: rgb(212, 227, 120);
/* oklch */ color: oklch(88.2% 0.133 115.8);
Tailwind
colors: {
  custom: {
    50: '#e3eba1',
    500: '#d4e378',
    950: '#000000',
  },
}
SCSS
$custom: #d4e378;
$custom-light: #e3eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e378",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 68.411,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88202,
    "c": 0.13309,
    "h": 115.8
  },
  "luminance": 0.70291
}

Semantic roles & 50–950 ramp

primary
#D4E378
secondary
#5545BA
accent
#18CD31
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E378

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

Preview Lab → · Contrast checker → · Palette generator →

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