#D3C03E#D3C03E

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

Color values

HEX#D3C03E
RGBrgb(211, 192, 62)
HSLhsl(52, 63%, 54%)
HSVhsv(52, 71%, 83%)
CMYKcmyk(0%, 9%, 70.6%, 17.3%)
CIE-LABlab(77.22, -7.59, 64.52)
CIE-LCHlch(77.22, 64.96, 96.71°)
OKLaboklab(80.1% -0.0273 0.1434)
OKLCHoklch(80.1% 0.146 100.8)
XYZxyz(46.5852, 51.8981, 12.1200)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C03E #3E51D3
analogous
#D3753E #D3C03E #9BD33E
triadic
#D3C03E #3ED3C0 #C03ED3
tetradic
#D3C03E #3ED375 #3E51D3 #D33E9B
square
#D3C03E #3ED375 #3E51D3 #D33E9B
split-complementary
#D3C03E #3E9BD3 #753ED3
monochromatic
#7B6F1C #AC9B27 #D3C03E #DED070 #EAE1A2

Accessibility & contrast

On white

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

On black

11.38
#D3C03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C03E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C03E#FFFFFF#000000##000000
##D3C03E1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c03e;
/* rgb */ color: rgb(211, 192, 62);
/* oklch */ color: oklch(80.1% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#e4d27b',
    500: '#d3c03e',
    950: '#000000',
  },
}
SCSS
$custom: #d3c03e;
$custom-light: #e4d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c03e",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 52.349,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.14597,
    "h": 100.8
  },
  "luminance": 0.51896
}

Semantic roles & 50–950 ramp

primary
#D3C03E
secondary
#333D82
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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