#D3C04C#D3C04C

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

Color values

HEX#D3C04C
RGBrgb(211, 192, 76)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 9%, 64%, 17.3%)
CIE-LABlab(77.32, -6.81, 58.98)
CIE-LCHlch(77.32, 59.37, 96.59°)
OKLaboklab(80.22% -0.0236 0.134)
OKLCHoklch(80.22% 0.136 100)
XYZxyz(47.0201, 52.0720, 14.4102)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C04C #4C5FD3
analogous
#D37D4C #D3C04C #A3D34C
triadic
#D3C04C #4CD3C0 #C04CD3
tetradic
#D3C04C #4CD37D #4C5FD3 #D34CA3
square
#D3C04C #4CD37D #4C5FD3 #D34CA3
split-complementary
#D3C04C #4CA3D3 #7D4CD3
monochromatic
#847620 #B5A22D #D3C04C #DFD17D #EBE3AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C04C#FFFFFF#000000##000000
##D3C04C1.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)
#D1BB3E
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#E3B3A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c04c;
/* rgb */ color: rgb(211, 192, 76);
/* oklch */ color: oklch(80.2% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#e4d283',
    500: '#d3c04c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c04c;
$custom-light: #e4d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c04c",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 51.556,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8022,
    "c": 0.13605,
    "h": 100
  },
  "luminance": 0.5207
}

Semantic roles & 50–950 ramp

primary
#D3C04C
secondary
#38448B
accent
#5BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C04C

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

Preview Lab → · Contrast checker → · Palette generator →

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