#D4EC56#D4EC56

#D4EC56 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 89.8% C 0.173 H 117.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#D4EC56
RGBrgb(212, 236, 86)
HSLhsl(70, 80%, 63%)
HSVhsv(70, 64%, 93%)
CMYKcmyk(10.2%, 0%, 63.6%, 7.5%)
CIE-LABlab(89.23, -27.49, 67.53)
CIE-LCHlch(89.23, 72.91, 112.15°)
OKLaboklab(89.77% -0.0809 0.1535)
OKLCHoklch(89.77% 0.173 117.8)
XYZxyz(58.8277, 74.6604, 20.1141)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC56 #6E56EC
analogous
#ECB956 #D4EC56 #89EC56
triadic
#D4EC56 #56D4EC #EC56D4
tetradic
#D4EC56 #56ECB9 #6E56EC #EC5689
square
#D4EC56 #56ECB9 #6E56EC #EC5689
split-complementary
#D4EC56 #5689EC #B956EC
monochromatic
#9AB314 #C6E61F #D4EC56 #E2F28D #F0F8C4

Accessibility & contrast

On white

1.32
#D4EC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#D4EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC56
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC56#FFFFFF#000000##000000
##D4EC561.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE042
Deuteranopia (green-blind)
#F8E161
Tritanopia (blue-blind)
#E0E0CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4ec56;
/* rgb */ color: rgb(212, 236, 86);
/* oklch */ color: oklch(89.8% 0.173 117.8);
Tailwind
colors: {
  custom: {
    50: '#e4f28c',
    500: '#d4ec56',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec56;
$custom-light: #e4f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec56",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 69.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89774,
    "c": 0.17348,
    "h": 117.8
  },
  "luminance": 0.7466
}

Semantic roles & 50–950 ramp

primary
#D4EC56
secondary
#4733B3
accent
#09DC2B
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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