#D9C349#D9C349

#D9C349 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.141 H 99.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D9C349
RGBrgb(217, 195, 73)
HSLhsl(51, 65%, 57%)
HSVhsv(51, 66%, 85%)
CMYKcmyk(0%, 10.1%, 66.4%, 14.9%)
CIE-LABlab(78.62, -6.00, 61.76)
CIE-LCHlch(78.62, 62.05, 95.55°)
OKLaboklab(81.36% -0.0219 0.1392)
OKLCHoklch(81.36% 0.141 99)
XYZxyz(49.3352, 54.2652, 14.1776)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C349 #495FD9
analogous
#D97B49 #D9C349 #A7D949
triadic
#D9C349 #49D9C3 #C349D9
tetradic
#D9C349 #49D97B #495FD9 #D949A7
square
#D9C349 #49D97B #495FD9 #D949A7
split-complementary
#D9C349 #49A7D9 #7B49D9
monochromatic
#8B7A1D #BDA628 #D9C349 #E4D47C #EEE4AE

Accessibility & contrast

On white

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

On black

11.85
#D9C349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C349
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C349#FFFFFF#000000##000000
##D9C3491.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#E9B5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c349;
/* rgb */ color: rgb(217, 195, 73);
/* oklch */ color: oklch(81.4% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8d482',
    500: '#d9c349',
    950: '#000000',
  },
}
SCSS
$custom: #d9c349;
$custom-light: #e8d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c349",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 50.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.14095,
    "h": 99
  },
  "luminance": 0.54263
}

Semantic roles & 50–950 ramp

primary
#D9C349
secondary
#364491
accent
#59E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C349

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

Preview Lab → · Contrast checker → · Palette generator →

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