#D4D04D#D4D04D

#D4D04D is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.150 H 107.6°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D4D04D
RGBrgb(212, 208, 77)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 64%, 83%)
CMYKcmyk(0%, 1.9%, 63.7%, 16.9%)
CIE-LABlab(81.65, -14.46, 63.16)
CIE-LCHlch(81.65, 64.79, 102.89°)
OKLaboklab(83.68% -0.0452 0.143)
OKLCHoklch(83.68% 0.15 107.6)
XYZxyz(51.0485, 59.6462, 15.8436)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D04D #4D51D4
analogous
#D48D4D #D4D04D #95D44D
triadic
#D4D04D #4DD4D0 #D04DD4
tetradic
#D4D04D #4DD48D #4D51D4 #D44D95
square
#D4D04D #4DD48D #4D51D4 #D44D95
split-complementary
#D4D04D #4D95D4 #8D4DD4
monochromatic
#868320 #B7B32C #D4D04D #E0DD7E #ECEAB0

Accessibility & contrast

On white

1.62
#D4D04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D4D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D04D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D04D#FFFFFF#000000##000000
##D4D04D1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#E3C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d04d;
/* rgb */ color: rgb(212, 208, 77);
/* oklch */ color: oklch(83.7% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4de85',
    500: '#d4d04d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d04d;
$custom-light: #e4de85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d04d",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 58.222,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83679,
    "c": 0.14993,
    "h": 107.6
  },
  "luminance": 0.59645
}

Semantic roles & 50–950 ramp

primary
#D4D04D
secondary
#383B8D
accent
#48E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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