#D3C04A#D3C04A

#D3C04A is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.138 H 100.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D3C04A
RGBrgb(211, 192, 74)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 65%, 83%)
CMYKcmyk(0%, 9%, 64.9%, 17.3%)
CIE-LABlab(77.31, -6.94, 59.81)
CIE-LCHlch(77.31, 60.21, 96.61°)
OKLaboklab(80.2% -0.0241 0.1354)
OKLCHoklch(80.2% 0.138 100.1)
XYZxyz(46.9516, 52.0446, 14.0497)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C04A #4A5DD3
analogous
#D37B4A #D3C04A #A1D34A
triadic
#D3C04A #4AD3C0 #C04AD3
tetradic
#D3C04A #4AD37B #4A5DD3 #D34AA1
square
#D3C04A #4AD37B #4A5DD3 #D34AA1
split-complementary
#D3C04A #4AA1D3 #7B4AD3
monochromatic
#837520 #B4A12C #D3C04A #DFD17B #EBE2AC

Accessibility & contrast

On white

1.84
#D3C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#D3C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C04A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C04A#FFFFFF#000000##000000
##D3C04A1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3B
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#E3B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c04a;
/* rgb */ color: rgb(211, 192, 74);
/* oklch */ color: oklch(80.2% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#e4d282',
    500: '#d3c04a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c04a;
$custom-light: #e4d282;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c04a",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 51.679,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80202,
    "c": 0.13757,
    "h": 100.1
  },
  "luminance": 0.52043
}

Semantic roles & 50–950 ramp

primary
#D3C04A
secondary
#37438A
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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