#D3C43A#D3C43A

#D3C43A is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.152 H 103.0°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D3C43A
RGBrgb(211, 196, 58)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 73%, 83%)
CMYKcmyk(0%, 7.1%, 72.5%, 17.3%)
CIE-LABlab(78.25, -9.82, 66.98)
CIE-LCHlch(78.25, 67.70, 98.34°)
OKLaboklab(80.91% -0.034 0.1479)
OKLCHoklch(80.91% 0.152 103)
XYZxyz(47.3697, 53.6362, 11.8598)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C43A #3A49D3
analogous
#D3783A #D3C43A #95D33A
triadic
#D3C43A #3AD3C4 #C43AD3
tetradic
#D3C43A #3AD378 #3A49D3 #D33A95
square
#D3C43A #3AD378 #3A49D3 #D33A95
split-complementary
#D3C43A #3A95D3 #783AD3
monochromatic
#786F1B #AA9D26 #D3C43A #DED36C #E9E29E

Accessibility & contrast

On white

1.79
#D3C43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D3C43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C43A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C43A#FFFFFF#000000##000000
##D3C43A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE21
Deuteranopia (green-blind)
#DAC544
Tritanopia (blue-blind)
#E3B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c43a;
/* rgb */ color: rgb(211, 196, 58);
/* oklch */ color: oklch(80.9% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e4d57a',
    500: '#d3c43a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c43a;
$custom-light: #e4d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c43a",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 54.118,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.15177,
    "h": 103
  },
  "luminance": 0.53634
}

Semantic roles & 50–950 ramp

primary
#D3C43A
secondary
#313980
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C43A

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

Preview Lab → · Contrast checker → · Palette generator →

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