#D3D04E#D3D04E

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

Color values

HEX#D3D04E
RGBrgb(211, 208, 78)
HSLhsl(59, 60%, 57%)
HSVhsv(59, 63%, 83%)
CMYKcmyk(0%, 1.4%, 63%, 17.3%)
CIE-LABlab(81.57, -14.81, 62.65)
CIE-LCHlch(81.57, 64.38, 103.30°)
OKLaboklab(83.6% -0.0461 0.1421)
OKLCHoklch(83.6% 0.149 108)
XYZxyz(50.7967, 59.5122, 16.0175)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D04E #4E51D3
analogous
#D38E4E #D3D04E #93D34E
triadic
#D3D04E #4ED3D0 #D04ED3
tetradic
#D3D04E #4ED38E #4E51D3 #D34E93
square
#D3D04E #4ED38E #4E51D3 #D34E93
split-complementary
#D3D04E #4E93D3 #8E4ED3
monochromatic
#858321 #B6B32D #D3D04E #DFDD7F #EBEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D04E#FFFFFF#000000##000000
##D3D04E1.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)
#E0C83D
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#E1C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d04e;
/* rgb */ color: rgb(211, 208, 78);
/* oklch */ color: oklch(83.6% 0.149 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4de86',
    500: '#d3d04e',
    950: '#000000',
  },
}
SCSS
$custom: #d3d04e;
$custom-light: #e4de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d04e",
  "rgb": {
    "r": 211,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 58.647,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83604,
    "c": 0.14933,
    "h": 108
  },
  "luminance": 0.59511
}

Semantic roles & 50–950 ramp

primary
#D3D04E
secondary
#393B8C
accent
#48E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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