#D2D04C#D2D04C

#D2D04C is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.5% C 0.151 H 108.4°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D2D04C
RGBrgb(210, 208, 76)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1%, 63.8%, 17.6%)
CIE-LABlab(81.48, -15.35, 63.34)
CIE-LCHlch(81.48, 65.17, 103.62°)
OKLaboklab(83.5% -0.0477 0.1432)
OKLCHoklch(83.5% 0.151 108.4)
XYZxyz(50.4404, 59.3367, 15.6322)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D04C #4C4ED2
analogous
#D28D4C #D2D04C #91D24C
triadic
#D2D04C #4CD2D0 #D04CD2
tetradic
#D2D04C #4CD28D #4C4ED2 #D24C91
square
#D2D04C #4CD28D #4C4ED2 #D24C91
split-complementary
#D2D04C #4C91D2 #8D4CD2
monochromatic
#838121 #B4B22D #D2D04C #DEDD7D #EBEAAE

Accessibility & contrast

On white

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

On black

12.87
#D2D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D04C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D04C#FFFFFF#000000##000000
##D2D04C1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83B
Deuteranopia (green-blind)
#E2CD54
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2d04c;
/* rgb */ color: rgb(210, 208, 76);
/* oklch */ color: oklch(83.5% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3de84',
    500: '#d2d04c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d04c;
$custom-light: #e3de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d04c",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 59.104,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83502,
    "c": 0.15097,
    "h": 108.4
  },
  "luminance": 0.59335
}

Semantic roles & 50–950 ramp

primary
#D2D04C
secondary
#383A8A
accent
#47E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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