#D4D047#D4D047

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

Color values

HEX#D4D047
RGBrgb(212, 208, 71)
HSLhsl(58, 62%, 55%)
HSVhsv(58, 67%, 83%)
CMYKcmyk(0%, 1.9%, 66.5%, 16.9%)
CIE-LABlab(81.60, -14.80, 65.49)
CIE-LCHlch(81.60, 67.15, 102.74°)
OKLaboklab(83.63% -0.0468 0.1469)
OKLCHoklch(83.63% 0.154 107.7)
XYZxyz(50.8464, 59.5654, 14.7789)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D047 #474BD4
analogous
#D48947 #D4D047 #91D447
triadic
#D4D047 #47D4D0 #D047D4
tetradic
#D4D047 #47D489 #474BD4 #D44791
square
#D4D047 #47D489 #474BD4 #D44791
split-complementary
#D4D047 #4791D4 #8947D4
monochromatic
#827F1E #B4B02A #D4D047 #E0DD79 #EBE9AA

Accessibility & contrast

On white

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

On black

12.91
#D4D047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D047
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D047#FFFFFF#000000##000000
##D4D0471.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C833
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#E3C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d047;
/* rgb */ color: rgb(212, 208, 71);
/* oklch */ color: oklch(83.6% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d4d047',
    950: '#000000',
  },
}
SCSS
$custom: #d4d047;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d047",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 58.298,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8363,
    "c": 0.15422,
    "h": 107.7
  },
  "luminance": 0.59564
}

Semantic roles & 50–950 ramp

primary
#D4D047
secondary
#363889
accent
#47E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D047

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

Preview Lab → · Contrast checker → · Palette generator →

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