#D8C444#D8C444

#D8C444 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.145 H 100.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D8C444
RGBrgb(216, 196, 68)
HSLhsl(52, 65%, 56%)
HSVhsv(52, 69%, 85%)
CMYKcmyk(0%, 9.3%, 68.5%, 15.3%)
CIE-LABlab(78.75, -7.21, 63.88)
CIE-LCHlch(78.75, 64.29, 96.44°)
OKLaboklab(81.44% -0.0259 0.1429)
OKLCHoklch(81.44% 0.145 100.3)
XYZxyz(49.1044, 54.4984, 13.4004)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C444 #4458D8
analogous
#D87A44 #D8C444 #A2D844
triadic
#D8C444 #44D8C4 #C444D8
tetradic
#D8C444 #44D87A #4458D8 #D844A2
square
#D8C444 #44D87A #4458D8 #D844A2
split-complementary
#D8C444 #44A2D8 #7A44D8
monochromatic
#86771C #B8A526 #D8C444 #E3D477 #EDE4A9

Accessibility & contrast

On white

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

On black

11.90
#D8C444 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C444
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C444#FFFFFF#000000##000000
##D8C4441.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF32
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#E8B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c444;
/* rgb */ color: rgb(216, 196, 68);
/* oklch */ color: oklch(81.4% 0.145 100.3);
Tailwind
colors: {
  custom: {
    50: '#e8d57f',
    500: '#d8c444',
    950: '#000000',
  },
}
SCSS
$custom: #d8c444;
$custom-light: #e8d57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c444",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 68
  },
  "hsl": {
    "h": 51.892,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81437,
    "c": 0.14524,
    "h": 100.3
  },
  "luminance": 0.54496
}

Semantic roles & 50–950 ramp

primary
#D8C444
secondary
#34408C
accent
#56E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D8C444

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

Preview Lab → · Contrast checker → · Palette generator →

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