#D3C546#D3C546

#D3C546 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.145 H 103.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D3C546
RGBrgb(211, 197, 70)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 6.6%, 66.8%, 17.3%)
CIE-LABlab(78.59, -9.73, 62.79)
CIE-LCHlch(78.59, 63.54, 98.81°)
OKLaboklab(81.21% -0.0325 0.1411)
OKLCHoklch(81.21% 0.145 103)
XYZxyz(47.9377, 54.2255, 13.7346)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C546 #4654D3
analogous
#D37F46 #D3C546 #9AD346
triadic
#D3C546 #46D3C5 #C546D3
tetradic
#D3C546 #46D37F #4654D3 #D3469A
square
#D3C546 #46D37F #4654D3 #D3469A
split-complementary
#D3C546 #469AD3 #7F46D3
monochromatic
#80761E #B2A42A #D3C546 #DFD577 #EBE4A9

Accessibility & contrast

On white

1.77
#D3C546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D3C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C546
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C546#FFFFFF#000000##000000
##D3C5461.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF35
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#E2B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c546;
/* rgb */ color: rgb(211, 197, 70);
/* oklch */ color: oklch(81.2% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e4d680',
    500: '#d3c546',
    950: '#000000',
  },
}
SCSS
$custom: #d3c546;
$custom-light: #e4d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c546",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 54.043,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81212,
    "c": 0.1448,
    "h": 103
  },
  "luminance": 0.54224
}

Semantic roles & 50–950 ramp

primary
#D3C546
secondary
#363E87
accent
#53E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C546

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

Preview Lab → · Contrast checker → · Palette generator →

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