#D3C341#D3C341

#D3C341 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.146 H 102.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D3C341
RGBrgb(211, 195, 65)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 69%, 83%)
CMYKcmyk(0%, 7.6%, 69.2%, 17.3%)
CIE-LABlab(78.03, -8.98, 64.18)
CIE-LCHlch(78.03, 64.80, 97.96°)
OKLaboklab(80.75% -0.0309 0.1432)
OKLCHoklch(80.75% 0.147 102.2)
XYZxyz(47.3352, 53.2628, 12.7874)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C341 #4151D3
analogous
#D37A41 #D3C341 #9AD341
triadic
#D3C341 #41D3C3 #C341D3
tetradic
#D3C341 #41D37A #4151D3 #D3419A
square
#D3C341 #41D37A #4151D3 #D3419A
split-complementary
#D3C341 #419AD3 #7A41D3
monochromatic
#7D721D #AEA028 #D3C341 #DFD373 #EAE2A4

Accessibility & contrast

On white

1.80
#D3C341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D3C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C341
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C341#FFFFFF#000000##000000
##D3C3411.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#D9C449
Tritanopia (blue-blind)
#E3B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c341;
/* rgb */ color: rgb(211, 195, 65);
/* oklch */ color: oklch(80.8% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#e4d47d',
    500: '#d3c341',
    950: '#000000',
  },
}
SCSS
$custom: #d3c341;
$custom-light: #e4d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c341",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 53.425,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80754,
    "c": 0.1465,
    "h": 102.2
  },
  "luminance": 0.53261
}

Semantic roles & 50–950 ramp

primary
#D3C341
secondary
#343D84
accent
#54E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C341

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

Preview Lab → · Contrast checker → · Palette generator →

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