#D8C44E#D8C44E

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

Color values

HEX#D8C44E
RGBrgb(216, 196, 78)
HSLhsl(51, 64%, 58%)
HSVhsv(51, 64%, 85%)
CMYKcmyk(0%, 9.3%, 63.9%, 15.3%)
CIE-LABlab(78.83, -6.64, 59.87)
CIE-LCHlch(78.83, 60.23, 96.33°)
OKLaboklab(81.52% -0.0231 0.136)
OKLCHoklch(81.52% 0.138 99.7)
XYZxyz(49.4361, 54.6310, 15.1471)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C44E #4E62D8
analogous
#D87F4E #D8C44E #A7D84E
triadic
#D8C44E #4ED8C4 #C44ED8
tetradic
#D8C44E #4ED87F #4E62D8 #D84EA7
square
#D8C44E #4ED87F #4E62D8 #D84EA7
split-complementary
#D8C44E #4EA7D8 #7F4ED8
monochromatic
#8D7D1F #BFA92A #D8C44E #E3D580 #EEE5B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8C44E#FFFFFF#000000##000000
##D8C44E1.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)
#D6BF40
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#E8B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c44e;
/* rgb */ color: rgb(216, 196, 78);
/* oklch */ color: oklch(81.5% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#e7d585',
    500: '#d8c44e',
    950: '#000000',
  },
}
SCSS
$custom: #d8c44e;
$custom-light: #e7d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c44e",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 78
  },
  "hsl": {
    "h": 51.304,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81523,
    "c": 0.13798,
    "h": 99.7
  },
  "luminance": 0.54629
}

Semantic roles & 50–950 ramp

primary
#D8C44E
secondary
#384592
accent
#59E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C44E

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

Preview Lab → · Contrast checker → · Palette generator →

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