#D3C03C#D3C03C

#D3C03C is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.147 H 100.9°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D3C03C
RGBrgb(211, 192, 60)
HSLhsl(52, 63%, 53%)
HSVhsv(52, 72%, 83%)
CMYKcmyk(0%, 9%, 71.6%, 17.3%)
CIE-LABlab(77.21, -7.68, 65.25)
CIE-LCHlch(77.21, 65.70, 96.72°)
OKLaboklab(80.09% -0.0278 0.1446)
OKLCHoklch(80.09% 0.147 100.9)
XYZxyz(46.5313, 51.8765, 11.8363)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C03C #3C4FD3
analogous
#D3743C #D3C03C #9BD33C
triadic
#D3C03C #3CD3C0 #C03CD3
tetradic
#D3C03C #3CD374 #3C4FD3 #D33C9B
square
#D3C03C #3CD374 #3C4FD3 #D33C9B
split-complementary
#D3C03C #3C9BD3 #743CD3
monochromatic
#796D1B #AB9A27 #D3C03C #DED06E #EAE0A0

Accessibility & contrast

On white

1.85
#D3C03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D3C03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C03C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C03C#FFFFFF#000000##000000
##D3C03C1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA26
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#E3B2A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c03c;
/* rgb */ color: rgb(211, 192, 60);
/* oklch */ color: oklch(80.1% 0.147 100.9);
Tailwind
colors: {
  custom: {
    50: '#e4d27a',
    500: '#d3c03c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c03c;
$custom-light: #e4d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c03c",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 52.45,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8009,
    "c": 0.14724,
    "h": 100.9
  },
  "luminance": 0.51874
}

Semantic roles & 50–950 ramp

primary
#D3C03C
secondary
#323C81
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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