#D8CC49#D8CC49

#D8CC49 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.149 H 104.1°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D8CC49
RGBrgb(216, 204, 73)
HSLhsl(55, 65%, 57%)
HSVhsv(55, 66%, 85%)
CMYKcmyk(0%, 5.6%, 66.2%, 15.3%)
CIE-LABlab(80.89, -11.01, 64.08)
CIE-LCHlch(80.89, 65.02, 99.75°)
OKLaboklab(83.15% -0.0361 0.1442)
OKLCHoklch(83.15% 0.149 104.1)
XYZxyz(51.1164, 58.2677, 14.8563)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC49 #4955D8
analogous
#D88549 #D8CC49 #9DD849
triadic
#D8CC49 #49D8CC #CC49D8
tetradic
#D8CC49 #49D885 #4955D8 #D8499D
square
#D8CC49 #49D885 #4955D8 #D8499D
split-complementary
#D8CC49 #499DD8 #8549D8
monochromatic
#89801D #BCAF28 #D8CC49 #E3DA7B #EEE8AE

Accessibility & contrast

On white

1.66
#D8CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D8CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC49
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC49#FFFFFF#000000##000000
##D8CC491.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#E1CC51
Tritanopia (blue-blind)
#E8BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc49;
/* rgb */ color: rgb(216, 204, 73);
/* oklch */ color: oklch(83.1% 0.149 104.1);
Tailwind
colors: {
  custom: {
    50: '#e7db82',
    500: '#d8cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc49;
$custom-light: #e7db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc49",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 54.965,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.14863,
    "h": 104.1
  },
  "luminance": 0.58266
}

Semantic roles & 50–950 ramp

primary
#D8CC49
secondary
#363D8F
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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