#D3C146#D3C146

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

Color values

HEX#D3C146
RGBrgb(211, 193, 70)
HSLhsl(52, 62%, 55%)
HSVhsv(52, 67%, 83%)
CMYKcmyk(0%, 8.5%, 66.8%, 17.3%)
CIE-LABlab(77.54, -7.68, 61.70)
CIE-LCHlch(77.54, 62.18, 97.10°)
OKLaboklab(80.38% -0.0267 0.1388)
OKLCHoklch(80.38% 0.141 100.9)
XYZxyz(47.0414, 52.4331, 13.4359)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C146 #4658D3
analogous
#D37A46 #D3C146 #9FD346
triadic
#D3C146 #46D3C1 #C146D3
tetradic
#D3C146 #46D37A #4658D3 #D3469F
square
#D3C146 #46D37A #4658D3 #D3469F
split-complementary
#D3C146 #469FD3 #7A46D3
monochromatic
#80741E #B2A02A #D3C146 #DFD277 #EBE2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C146#FFFFFF#000000##000000
##D3C1461.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)
#D3BC36
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E3B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c146;
/* rgb */ color: rgb(211, 193, 70);
/* oklch */ color: oklch(80.4% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#e4d380',
    500: '#d3c146',
    950: '#000000',
  },
}
SCSS
$custom: #d3c146;
$custom-light: #e4d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c146",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 52.34,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.14136,
    "h": 100.9
  },
  "luminance": 0.52431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C146

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

Preview Lab → · Contrast checker → · Palette generator →

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