#D8C44D#D8C44D

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

Color values

HEX#D8C44D
RGBrgb(216, 196, 77)
HSLhsl(51, 64%, 57%)
HSVhsv(51, 64%, 85%)
CMYKcmyk(0%, 9.3%, 64.4%, 15.3%)
CIE-LABlab(78.82, -6.70, 60.28)
CIE-LCHlch(78.82, 60.65, 96.34°)
OKLaboklab(81.51% -0.0234 0.1368)
OKLCHoklch(81.51% 0.139 99.7)
XYZxyz(49.4005, 54.6168, 14.9597)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C44D #4D61D8
analogous
#D87F4D #D8C44D #A6D84D
triadic
#D8C44D #4DD8C4 #C44DD8
tetradic
#D8C44D #4DD87F #4D61D8 #D84DA6
square
#D8C44D #4DD87F #4D61D8 #D84DA6
split-complementary
#D8C44D #4DA6D8 #7F4DD8
monochromatic
#8C7C1F #BEA92A #D8C44D #E3D57F #EEE5B1

Accessibility & contrast

On white

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

On black

11.92
#D8C44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C44D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C44D#FFFFFF#000000##000000
##D8C44D1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#E8B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c44d;
/* rgb */ color: rgb(216, 196, 77);
/* oklch */ color: oklch(81.5% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#e7d584',
    500: '#d8c44d',
    950: '#000000',
  },
}
SCSS
$custom: #d8c44d;
$custom-light: #e7d584;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c44d",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 77
  },
  "hsl": {
    "h": 51.367,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.13875,
    "h": 99.7
  },
  "luminance": 0.54615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8C44D

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

Preview Lab → · Contrast checker → · Palette generator →

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