#D9C646#D9C646

#D9C646 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.146 H 100.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D9C646
RGBrgb(217, 198, 70)
HSLhsl(52, 66%, 56%)
HSVhsv(52, 68%, 85%)
CMYKcmyk(0%, 8.8%, 67.7%, 14.9%)
CIE-LABlab(79.38, -7.70, 63.76)
CIE-LCHlch(79.38, 64.22, 96.89°)
OKLaboklab(81.96% -0.0271 0.143)
OKLCHoklch(81.96% 0.146 100.7)
XYZxyz(49.9170, 55.5843, 13.8927)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C646 #4659D9
analogous
#D97D46 #D9C646 #A3D946
triadic
#D9C646 #46D9C6 #C646D9
tetradic
#D9C646 #46D97D #4659D9 #D946A3
square
#D9C646 #46D97D #4659D9 #D946A3
split-complementary
#D9C646 #46A3D9 #7D46D9
monochromatic
#897B1C #BBA826 #D9C646 #E3D679 #EEE5AC

Accessibility & contrast

On white

1.73
#D9C646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D9C646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C646
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C646#FFFFFF#000000##000000
##D9C6461.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c646;
/* rgb */ color: rgb(217, 198, 70);
/* oklch */ color: oklch(82.0% 0.146 100.7);
Tailwind
colors: {
  custom: {
    50: '#e8d680',
    500: '#d9c646',
    950: '#000000',
  },
}
SCSS
$custom: #d9c646;
$custom-light: #e8d680;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c646",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 52.245,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81959,
    "c": 0.14551,
    "h": 100.7
  },
  "luminance": 0.55582
}

Semantic roles & 50–950 ramp

primary
#D9C646
secondary
#35408F
accent
#55E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C646

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

Preview Lab → · Contrast checker → · Palette generator →

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