#D4D049#D4D049

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

Color values

HEX#D4D049
RGBrgb(212, 208, 73)
HSLhsl(58, 62%, 56%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 1.9%, 65.6%, 16.9%)
CIE-LABlab(81.62, -14.69, 64.73)
CIE-LCHlch(81.62, 66.38, 102.79°)
OKLaboklab(83.65% -0.0463 0.1457)
OKLCHoklch(83.65% 0.153 107.6)
XYZxyz(50.9116, 59.5915, 15.1225)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D049 #494DD4
analogous
#D48A49 #D4D049 #93D449
triadic
#D4D049 #49D4D0 #D049D4
tetradic
#D4D049 #49D48A #494DD4 #D44993
square
#D4D049 #49D48A #494DD4 #D44993
split-complementary
#D4D049 #4993D4 #8A49D4
monochromatic
#84811F #B5B12B #D4D049 #E0DD7B #EBEAAC

Accessibility & contrast

On white

1.63
#D4D049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D4D049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D049
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D049#FFFFFF#000000##000000
##D4D0491.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d049;
/* rgb */ color: rgb(212, 208, 73);
/* oklch */ color: oklch(83.6% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4de83',
    500: '#d4d049',
    950: '#000000',
  },
}
SCSS
$custom: #d4d049;
$custom-light: #e4de83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d049",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 73
  },
  "hsl": {
    "h": 58.273,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83646,
    "c": 0.15283,
    "h": 107.6
  },
  "luminance": 0.5959
}

Semantic roles & 50–950 ramp

primary
#D4D049
secondary
#37398A
accent
#48E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D049

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

Preview Lab → · Contrast checker → · Palette generator →

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