#D4E478#D4E478

#D4E478 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.4% C 0.134 H 116.2°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#D4E478
RGBrgb(212, 228, 120)
HSLhsl(69, 67%, 68%)
HSVhsv(69, 47%, 89%)
CMYKcmyk(7%, 0%, 47.4%, 10.6%)
CIE-LABlab(87.41, -20.93, 50.55)
CIE-LCHlch(87.41, 54.71, 112.49°)
OKLaboklab(88.42% -0.0592 0.1206)
OKLCHoklch(88.42% 0.134 116.2)
XYZxyz(58.2856, 70.8405, 28.3688)
Luminance0.7084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E478 #8878E4
analogous
#E4BE78 #D4E478 #9EE478
triadic
#D4E478 #78D4E4 #E478D4
tetradic
#D4E478 #78E4BE #8878E4 #E4789E
square
#D4E478 #78E4BE #8878E4 #E4789E
split-complementary
#D4E478 #789EE4 #BE78E4
monochromatic
#A6BC26 #C4DA45 #D4E478 #E4EEAB #F4F8DE

Accessibility & contrast

On white

1.38
#D4E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#D4E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E478
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E478#FFFFFF#000000##000000
##D4E4781.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6F
Deuteranopia (green-blind)
#EFDC7E
Tritanopia (blue-blind)
#DEDACB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d4e478;
/* rgb */ color: rgb(212, 228, 120);
/* oklch */ color: oklch(88.4% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#e3eca1',
    500: '#d4e478',
    950: '#000000',
  },
}
SCSS
$custom: #d4e478;
$custom-light: #e3eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e478",
  "rgb": {
    "r": 212,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 68.889,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88416,
    "c": 0.13433,
    "h": 116.2
  },
  "luminance": 0.7084
}

Semantic roles & 50–950 ramp

primary
#D4E478
secondary
#5645BB
accent
#17CF32
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E478

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

Preview Lab → · Contrast checker → · Palette generator →

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