#D9C446#D9C446

#D9C446 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.144 H 99.7°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D9C446
RGBrgb(217, 196, 70)
HSLhsl(51, 66%, 56%)
HSVhsv(51, 68%, 85%)
CMYKcmyk(0%, 9.7%, 67.7%, 14.9%)
CIE-LABlab(78.85, -6.68, 63.22)
CIE-LCHlch(78.85, 63.57, 96.03°)
OKLaboklab(81.55% -0.0242 0.1418)
OKLCHoklch(81.55% 0.144 99.7)
XYZxyz(49.4629, 54.6760, 13.7413)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C446 #465BD9
analogous
#D97B46 #D9C446 #A4D946
triadic
#D9C446 #46D9C4 #C446D9
tetradic
#D9C446 #46D97B #465BD9 #D946A4
square
#D9C446 #46D97B #465BD9 #D946A4
split-complementary
#D9C446 #46A4D9 #7B46D9
monochromatic
#89791C #BBA626 #D9C446 #E3D479 #EEE4AC

Accessibility & contrast

On white

1.76
#D9C446 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D9C446 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C446
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C446#FFFFFF#000000##000000
##D9C4461.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF35
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#E9B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c446;
/* rgb */ color: rgb(217, 196, 70);
/* oklch */ color: oklch(81.5% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#e8d580',
    500: '#d9c446',
    950: '#000000',
  },
}
SCSS
$custom: #d9c446;
$custom-light: #e8d580;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c446",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 70
  },
  "hsl": {
    "h": 51.429,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81545,
    "c": 0.14388,
    "h": 99.7
  },
  "luminance": 0.54674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C446

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

Preview Lab → · Contrast checker → · Palette generator →

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