#D9C546#D9C546

#D9C546 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.145 H 100.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D9C546
RGBrgb(217, 197, 70)
HSLhsl(52, 66%, 56%)
HSVhsv(52, 68%, 85%)
CMYKcmyk(0%, 9.2%, 67.7%, 14.9%)
CIE-LABlab(79.12, -7.19, 63.49)
CIE-LCHlch(79.12, 63.90, 96.46°)
OKLaboklab(81.75% -0.0257 0.1424)
OKLCHoklch(81.75% 0.145 100.2)
XYZxyz(49.6892, 55.1287, 13.8167)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C546 #465AD9
analogous
#D97C46 #D9C546 #A4D946
triadic
#D9C546 #46D9C5 #C546D9
tetradic
#D9C546 #46D97C #465AD9 #D946A4
square
#D9C546 #46D97C #465AD9 #D946A4
split-complementary
#D9C546 #46A4D9 #7C46D9
monochromatic
#897A1C #BBA726 #D9C546 #E3D579 #EEE5AC

Accessibility & contrast

On white

1.75
#D9C546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D9C546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C546
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C546#FFFFFF#000000##000000
##D9C5461.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C034
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E9B7AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c546;
/* rgb */ color: rgb(217, 197, 70);
/* oklch */ color: oklch(81.8% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#e8d680',
    500: '#d9c546',
    950: '#000000',
  },
}
SCSS
$custom: #d9c546;
$custom-light: #e8d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c546",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 51.837,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81752,
    "c": 0.1447,
    "h": 100.2
  },
  "luminance": 0.55126
}

Semantic roles & 50–950 ramp

primary
#D9C546
secondary
#35418F
accent
#56E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C546

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

Preview Lab → · Contrast checker → · Palette generator →

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