#D9C849#D9C849

#D9C849 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.145 H 101.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D9C849
RGBrgb(217, 200, 73)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 66%, 85%)
CMYKcmyk(0%, 7.8%, 66.4%, 14.9%)
CIE-LABlab(79.92, -8.56, 63.12)
CIE-LCHlch(79.92, 63.69, 97.72°)
OKLaboklab(82.4% -0.0292 0.1421)
OKLCHoklch(82.4% 0.145 101.6)
XYZxyz(50.4743, 56.5434, 14.5573)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C849 #495AD9
analogous
#D98049 #D9C849 #A2D949
triadic
#D9C849 #49D9C8 #C849D9
tetradic
#D9C849 #49D980 #495AD9 #D949A2
square
#D9C849 #49D980 #495AD9 #D949A2
split-complementary
#D9C849 #49A2D9 #8049D9
monochromatic
#8B7E1D #BDAC28 #D9C849 #E4D77C #EEE7AE

Accessibility & contrast

On white

1.71
#D9C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D9C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C849
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C849#FFFFFF#000000##000000
##D9C8491.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#E9BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c849;
/* rgb */ color: rgb(217, 200, 73);
/* oklch */ color: oklch(82.4% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#e8d882',
    500: '#d9c849',
    950: '#000000',
  },
}
SCSS
$custom: #d9c849;
$custom-light: #e8d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c849",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 52.917,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.14508,
    "h": 101.6
  },
  "luminance": 0.56541
}

Semantic roles & 50–950 ramp

primary
#D9C849
secondary
#364091
accent
#53E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C849

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

Preview Lab → · Contrast checker → · Palette generator →

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