#D3C442#D3C442

#D3C442 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.147 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D3C442
RGBrgb(211, 196, 66)
HSLhsl(54, 62%, 54%)
HSVhsv(54, 69%, 83%)
CMYKcmyk(0%, 7.1%, 68.7%, 17.3%)
CIE-LABlab(78.30, -9.43, 64.06)
CIE-LCHlch(78.30, 64.76, 98.38°)
OKLaboklab(80.97% -0.0321 0.1431)
OKLCHoklch(80.97% 0.147 102.6)
XYZxyz(47.5893, 53.7241, 13.0162)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C442 #4251D3
analogous
#D37C42 #D3C442 #9AD342
triadic
#D3C442 #42D3C4 #C442D3
tetradic
#D3C442 #42D37C #4251D3 #D3429A
square
#D3C442 #42D37C #4251D3 #D3429A
split-complementary
#D3C442 #429AD3 #7C42D3
monochromatic
#7D731D #AFA129 #D3C442 #DFD374 #EAE3A5

Accessibility & contrast

On white

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

On black

11.74
#D3C442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C442
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C442#FFFFFF#000000##000000
##D3C4421.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2F
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#E3B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c442;
/* rgb */ color: rgb(211, 196, 66);
/* oklch */ color: oklch(81.0% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#e4d57e',
    500: '#d3c442',
    950: '#000000',
  },
}
SCSS
$custom: #d3c442;
$custom-light: #e4d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c442",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 53.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80971,
    "c": 0.14669,
    "h": 102.6
  },
  "luminance": 0.53722
}

Semantic roles & 50–950 ramp

primary
#D3C442
secondary
#343D85
accent
#53E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C442

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

Preview Lab → · Contrast checker → · Palette generator →

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