#D3C03A#D3C03A

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

Color values

HEX#D3C03A
RGBrgb(211, 192, 58)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 73%, 83%)
CMYKcmyk(0%, 9%, 72.5%, 17.3%)
CIE-LABlab(77.19, -7.78, 65.97)
CIE-LCHlch(77.19, 66.43, 96.72°)
OKLaboklab(80.08% -0.0283 0.1457)
OKLCHoklch(80.08% 0.148 101)
XYZxyz(46.4795, 51.8558, 11.5631)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C03A #3A4DD3
analogous
#D3733A #D3C03A #99D33A
triadic
#D3C03A #3AD3C0 #C03AD3
tetradic
#D3C03A #3AD373 #3A4DD3 #D33A99
square
#D3C03A #3AD373 #3A4DD3 #D33A99
split-complementary
#D3C03A #3A99D3 #733AD3
monochromatic
#786C1B #AA9926 #D3C03A #DED06C #E9E09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C03A#FFFFFF#000000##000000
##D3C03A1.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)
#D2BA23
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#E3B2A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c03a;
/* rgb */ color: rgb(211, 192, 58);
/* oklch */ color: oklch(80.1% 0.148 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4d279',
    500: '#d3c03a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c03a;
$custom-light: #e4d279;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c03a",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 52.549,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80076,
    "c": 0.14845,
    "h": 101
  },
  "luminance": 0.51854
}

Semantic roles & 50–950 ramp

primary
#D3C03A
secondary
#313B80
accent
#56E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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