#D9FF04#D9FF04

#D9FF04 is a very light, highly saturated yellow. Relative luminance 0.863; OKLCH L 94.0% C 0.223 H 120.1°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#D9FF04
RGBrgb(217, 255, 4)
HSLhsl(69, 100%, 51%)
HSVhsv(69, 98%, 100%)
CMYKcmyk(14.9%, 0%, 98.4%, 0%)
CIE-LABlab(94.43, -36.85, 90.98)
CIE-LCHlch(94.43, 98.16, 112.05°)
OKLaboklab(93.95% -0.1115 0.1928)
OKLCHoklch(93.95% 0.223 120.1)
XYZxyz(64.3987, 86.2808, 13.3761)
Luminance0.8628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9FF04 #2A04FF
analogous
#FFA804 #D9FF04 #5BFF04
triadic
#D9FF04 #04D9FF #FF04D9
tetradic
#D9FF04 #04FFA8 #2A04FF #FF045B
square
#D9FF04 #04FFA8 #2A04FF #FF045B
split-complementary
#D9FF04 #045BFF #A804FF
monochromatic
#748900 #A8C600 #D9FF04 #E2FF41 #ECFF7E

Accessibility & contrast

On white

1.15
#D9FF04 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#D9FF04 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9FF04
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9FF04#FFFFFF#000000##000000
##D9FF041.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF00
Deuteranopia (green-blind)
#FFEF35
Tritanopia (blue-blind)
#E6F1D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d9ff04;
/* rgb */ color: rgb(217, 255, 4);
/* oklch */ color: oklch(94.0% 0.223 120.1);
Tailwind
colors: {
  custom: {
    50: '#eaff72',
    500: '#d9ff04',
    950: '#000000',
  },
}
SCSS
$custom: #d9ff04;
$custom-light: #eaff72;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ff04",
  "rgb": {
    "r": 217,
    "g": 255,
    "b": 4
  },
  "hsl": {
    "h": 69.084,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.93951,
    "c": 0.22272,
    "h": 120.1
  },
  "luminance": 0.8628
}

Semantic roles & 50–950 ramp

primary
#D9FF04
secondary
#2B198E
accent
#29FF49
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#17170A
muted
#85857D

Preview Lab

Preview with #D9FF04

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

Preview Lab → · Contrast checker → · Palette generator →

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