#D4E04F#D4E04F

#D4E04F is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.1% C 0.165 H 113.9°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#D4E04F
RGBrgb(212, 224, 79)
HSLhsl(65, 70%, 59%)
HSVhsv(65, 65%, 88%)
CMYKcmyk(5.4%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.94, -22.20, 66.84)
CIE-LCHlch(85.94, 70.43, 108.37°)
OKLaboklab(87.12% -0.0668 0.151)
OKLCHoklch(87.12% 0.165 113.9)
XYZxyz(55.2198, 67.8739, 17.5877)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E04F #5B4FE0
analogous
#E0A44F #D4E04F #8BE04F
triadic
#D4E04F #4FD4E0 #E04FD4
tetradic
#D4E04F #4FE0A4 #5B4FE0 #E04F8B
square
#D4E04F #4FE0A4 #5B4FE0 #E04F8B
split-complementary
#D4E04F #4F8BE0 #A44FE0
monochromatic
#8F9A1B #C0CE24 #D4E04F #E1E983 #EDF2B7

Accessibility & contrast

On white

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

On black

14.57
#D4E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E04F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E04F#FFFFFF#000000##000000
##D4E04F1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63B
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#E1D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d4e04f;
/* rgb */ color: rgb(212, 224, 79);
/* oklch */ color: oklch(87.1% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#e4e987',
    500: '#d4e04f',
    950: '#000000',
  },
}
SCSS
$custom: #d4e04f;
$custom-light: #e4e987;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e04f",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 64.966,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87118,
    "c": 0.16513,
    "h": 113.9
  },
  "luminance": 0.67873
}

Semantic roles & 50–950 ramp

primary
#D4E04F
secondary
#3E369D
accent
#3BED4A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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