#D3C147#D3C147

#D3C147 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.141 H 100.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D3C147
RGBrgb(211, 193, 71)
HSLhsl(52, 61%, 55%)
HSVhsv(52, 66%, 83%)
CMYKcmyk(0%, 8.5%, 66.4%, 17.3%)
CIE-LABlab(77.55, -7.63, 61.30)
CIE-LCHlch(77.55, 61.78, 97.09°)
OKLaboklab(80.38% -0.0264 0.1381)
OKLCHoklch(80.38% 0.141 100.8)
XYZxyz(47.0733, 52.4458, 13.6035)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C147 #4759D3
analogous
#D37B47 #D3C147 #9FD347
triadic
#D3C147 #47D3C1 #C147D3
tetradic
#D3C147 #47D37B #4759D3 #D3479F
square
#D3C147 #47D37B #4759D3 #D3479F
split-complementary
#D3C147 #479FD3 #7B47D3
monochromatic
#81741F #B2A12B #D3C147 #DFD278 #EBE2AA

Accessibility & contrast

On white

1.83
#D3C147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D3C147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C147
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C147#FFFFFF#000000##000000
##D3C1471.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c147;
/* rgb */ color: rgb(211, 193, 71);
/* oklch */ color: oklch(80.4% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#e4d380',
    500: '#d3c147',
    950: '#000000',
  },
}
SCSS
$custom: #d3c147;
$custom-light: #e4d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c147",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 52.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80384,
    "c": 0.14064,
    "h": 100.8
  },
  "luminance": 0.52444
}

Semantic roles & 50–950 ramp

primary
#D3C147
secondary
#364188
accent
#58E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C147

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

Preview Lab → · Contrast checker → · Palette generator →

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