#D4EC5A#D4EC5A

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

Color values

HEX#D4EC5A
RGBrgb(212, 236, 90)
HSLhsl(70, 79%, 64%)
HSVhsv(70, 62%, 93%)
CMYKcmyk(10.2%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.26, -27.22, 65.96)
CIE-LCHlch(89.26, 71.36, 112.43°)
OKLaboklab(89.81% -0.0798 0.1507)
OKLCHoklch(89.81% 0.171 117.9)
XYZxyz(58.9934, 74.7267, 20.9868)
Luminance0.7473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC5A #725AEC
analogous
#ECBB5A #D4EC5A #8BEC5A
triadic
#D4EC5A #5AD4EC #EC5AD4
tetradic
#D4EC5A #5AECBB #725AEC #EC5A8B
square
#D4EC5A #5AECBB #725AEC #EC5A8B
split-complementary
#D4EC5A #5A8BEC #BB5AEC
monochromatic
#9CB715 #C6E623 #D4EC5A #E2F291 #F1F9C8

Accessibility & contrast

On white

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

On black

15.95
#D4EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC5A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC5A#FFFFFF#000000##000000
##D4EC5A1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#E0E0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4ec5a;
/* rgb */ color: rgb(212, 236, 90);
/* oklch */ color: oklch(89.8% 0.171 117.9);
Tailwind
colors: {
  custom: {
    50: '#e4f28f',
    500: '#d4ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec5a;
$custom-light: #e4f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec5a",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 69.863,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89809,
    "c": 0.1705,
    "h": 117.9
  },
  "luminance": 0.74726
}

Semantic roles & 50–950 ramp

primary
#D4EC5A
secondary
#4934B6
accent
#0ADC2C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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