#D3D04C#D3D04C

#D3D04C is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.151 H 108.0°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D3D04C
RGBrgb(211, 208, 76)
HSLhsl(59, 61%, 56%)
HSVhsv(59, 64%, 83%)
CMYKcmyk(0%, 1.4%, 64%, 17.3%)
CIE-LABlab(81.56, -14.93, 63.45)
CIE-LCHlch(81.56, 65.18, 103.24°)
OKLaboklab(83.59% -0.0466 0.1434)
OKLCHoklch(83.59% 0.151 108)
XYZxyz(50.7261, 59.4840, 15.6456)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D04C #4C4FD3
analogous
#D38D4C #D3D04C #93D34C
triadic
#D3D04C #4CD3D0 #D04CD3
tetradic
#D3D04C #4CD38D #4C4FD3 #D34C93
square
#D3D04C #4CD38D #4C4FD3 #D34C93
split-complementary
#D3D04C #4C93D3 #8D4CD3
monochromatic
#848220 #B5B22D #D3D04C #DFDD7D #EBEAAE

Accessibility & contrast

On white

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

On black

12.90
#D3D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D04C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D04C#FFFFFF#000000##000000
##D3D04C1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83B
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#E1C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d04c;
/* rgb */ color: rgb(211, 208, 76);
/* oklch */ color: oklch(83.6% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4de84',
    500: '#d3d04c',
    950: '#000000',
  },
}
SCSS
$custom: #d3d04c;
$custom-light: #e4de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d04c",
  "rgb": {
    "r": 211,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 58.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83586,
    "c": 0.15081,
    "h": 108
  },
  "luminance": 0.59482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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