#D4E04B#D4E04B

#D4E04B is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.1% C 0.168 H 113.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#D4E04B
RGBrgb(212, 224, 75)
HSLhsl(65, 71%, 59%)
HSVhsv(65, 67%, 88%)
CMYKcmyk(5.4%, 0%, 66.5%, 12.2%)
CIE-LABlab(85.92, -22.43, 68.35)
CIE-LCHlch(85.92, 71.94, 108.17°)
OKLaboklab(87.09% -0.0678 0.1536)
OKLCHoklch(87.09% 0.168 113.8)
XYZxyz(55.0785, 67.8174, 16.8439)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E04B #574BE0
analogous
#E0A14B #D4E04B #89E04B
triadic
#D4E04B #4BD4E0 #E04BD4
tetradic
#D4E04B #4BE0A1 #574BE0 #E04B89
square
#D4E04B #4BE0A1 #574BE0 #E04B89
split-complementary
#D4E04B #4B89E0 #A14BE0
monochromatic
#8D971A #BDCB23 #D4E04B #E0E97F #EDF2B3

Accessibility & contrast

On white

1.44
#D4E04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#D4E04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E04B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E04B#FFFFFF#000000##000000
##D4E04B1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D535
Deuteranopia (green-blind)
#F0D856
Tritanopia (blue-blind)
#E2D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d4e04b;
/* rgb */ color: rgb(212, 224, 75);
/* oklch */ color: oklch(87.1% 0.168 113.8);
Tailwind
colors: {
  custom: {
    50: '#e4e985',
    500: '#d4e04b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e04b;
$custom-light: #e4e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e04b",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 64.832,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87086,
    "c": 0.16791,
    "h": 113.8
  },
  "luminance": 0.67816
}

Semantic roles & 50–950 ramp

primary
#D4E04B
secondary
#3D349B
accent
#3AED49
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E04B

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

Preview Lab → · Contrast checker → · Palette generator →

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