#D8C449#D8C449

#D8C449 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.142 H 100.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D8C449
RGBrgb(216, 196, 73)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 9.3%, 66.2%, 15.3%)
CIE-LABlab(78.79, -6.93, 61.91)
CIE-LCHlch(78.79, 62.30, 96.39°)
OKLaboklab(81.48% -0.0245 0.1396)
OKLCHoklch(81.48% 0.142 100)
XYZxyz(49.2636, 54.5620, 14.2387)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C449 #495DD8
analogous
#D87D49 #D8C449 #A5D849
triadic
#D8C449 #49D8C4 #C449D8
tetradic
#D8C449 #49D87D #495DD8 #D849A5
square
#D8C449 #49D87D #495DD8 #D849A5
split-complementary
#D8C449 #49A5D8 #7D49D8
monochromatic
#897A1D #BCA728 #D8C449 #E3D47B #EEE5AE

Accessibility & contrast

On white

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

On black

11.91
#D8C449 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C449
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C449#FFFFFF#000000##000000
##D8C4491.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#DCC650
Tritanopia (blue-blind)
#E8B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c449;
/* rgb */ color: rgb(216, 196, 73);
/* oklch */ color: oklch(81.5% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#e7d582',
    500: '#d8c449',
    950: '#000000',
  },
}
SCSS
$custom: #d8c449;
$custom-light: #e7d582;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c449",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 73
  },
  "hsl": {
    "h": 51.608,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81478,
    "c": 0.14172,
    "h": 100
  },
  "luminance": 0.5456
}

Semantic roles & 50–950 ramp

primary
#D8C449
secondary
#36428F
accent
#58E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C449

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

Preview Lab → · Contrast checker → · Palette generator →

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