#D4E178#D4E178

#D4E178 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.8% C 0.131 H 114.9°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D4E178
RGBrgb(212, 225, 120)
HSLhsl(67, 64%, 68%)
HSVhsv(67, 47%, 88%)
CMYKcmyk(5.8%, 0%, 46.7%, 11.8%)
CIE-LABlab(86.61, -19.47, 49.58)
CIE-LCHlch(86.61, 53.26, 111.44°)
OKLaboklab(87.77% -0.0551 0.1184)
OKLCHoklch(87.77% 0.131 114.9)
XYZxyz(57.4675, 69.2043, 28.0960)
Luminance0.6920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E178 #8578E1
analogous
#E1BA78 #D4E178 #9FE178
triadic
#D4E178 #78D4E1 #E178D4
tetradic
#D4E178 #78E1BA #8578E1 #E1789F
square
#D4E178 #78E1BA #8578E1 #E1789F
split-complementary
#D4E178 #789FE1 #BA78E1
monochromatic
#A5B628 #C4D646 #D4E178 #E4ECAA #F4F7DC

Accessibility & contrast

On white

1.42
#D4E178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#D4E178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E178
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E178#FFFFFF#000000##000000
##D4E1781.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#EDDA7D
Tritanopia (blue-blind)
#DFD7C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e178;
/* rgb */ color: rgb(212, 225, 120);
/* oklch */ color: oklch(87.8% 0.131 114.9);
Tailwind
colors: {
  custom: {
    50: '#e3eaa1',
    500: '#d4e178',
    950: '#000000',
  },
}
SCSS
$custom: #d4e178;
$custom-light: #e3eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e178",
  "rgb": {
    "r": 212,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 67.429,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87774,
    "c": 0.13062,
    "h": 114.9
  },
  "luminance": 0.69204
}

Semantic roles & 50–950 ramp

primary
#D4E178
secondary
#5446B7
accent
#1ACB30
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E178

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

Preview Lab → · Contrast checker → · Palette generator →

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