#D4E945#D4E945

#D4E945 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.0% C 0.181 H 116.6°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#D4E945
RGBrgb(212, 233, 69)
HSLhsl(68, 79%, 59%)
HSVhsv(68, 70%, 91%)
CMYKcmyk(9%, 0%, 70.4%, 8.6%)
CIE-LABlab(88.31, -27.05, 72.91)
CIE-LCHlch(88.31, 77.77, 110.36°)
OKLaboklab(88.99% -0.0813 0.1622)
OKLCHoklch(88.99% 0.181 116.6)
XYZxyz(57.3659, 72.7053, 16.6406)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E945 #5A45E9
analogous
#E9AC45 #D4E945 #82E945
triadic
#D4E945 #45D4E9 #E945D4
tetradic
#D4E945 #45E9AC #5A45E9 #E94582
square
#D4E945 #45E9AC #5A45E9 #E94582
split-complementary
#D4E945 #4582E9 #AC45E9
monochromatic
#8EA113 #BFD719 #D4E945 #E1EF7C #EDF6B2

Accessibility & contrast

On white

1.35
#D4E945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#D4E945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E945
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E945#FFFFFF#000000##000000
##D4E9451.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD28
Deuteranopia (green-blind)
#F7DF52
Tritanopia (blue-blind)
#E1DCC9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e945;
/* rgb */ color: rgb(212, 233, 69);
/* oklch */ color: oklch(89.0% 0.181 116.6);
Tailwind
colors: {
  custom: {
    50: '#e5ef83',
    500: '#d4e945',
    950: '#000000',
  },
}
SCSS
$custom: #d4e945;
$custom-light: #e5ef83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e945",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 69
  },
  "hsl": {
    "h": 67.683,
    "s": 78.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.88993,
    "c": 0.18145,
    "h": 116.6
  },
  "luminance": 0.72705
}

Semantic roles & 50–950 ramp

primary
#D4E945
secondary
#3E2FA3
accent
#32F54B
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16160B
muted
#85857E

Preview Lab

Preview with #D4E945

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

Preview Lab → · Contrast checker → · Palette generator →

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