#D8C445#D8C445

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

Color values

HEX#D8C445
RGBrgb(216, 196, 69)
HSLhsl(52, 65%, 56%)
HSVhsv(52, 68%, 85%)
CMYKcmyk(0%, 9.3%, 68.1%, 15.3%)
CIE-LABlab(78.76, -7.16, 63.49)
CIE-LCHlch(78.76, 63.90, 96.43°)
OKLaboklab(81.45% -0.0256 0.1423)
OKLCHoklch(81.45% 0.145 100.2)
XYZxyz(49.1352, 54.5107, 13.5625)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C445 #4559D8
analogous
#D87A45 #D8C445 #A2D845
triadic
#D8C445 #45D8C4 #C445D8
tetradic
#D8C445 #45D87A #4559D8 #D845A2
square
#D8C445 #45D87A #4559D8 #D845A2
split-complementary
#D8C445 #45A2D8 #7A45D8
monochromatic
#86781C #B9A527 #D8C445 #E3D478 #EDE4AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8C445#FFFFFF#000000##000000
##D8C4451.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)
#D6BF33
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#E8B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c445;
/* rgb */ color: rgb(216, 196, 69);
/* oklch */ color: oklch(81.4% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#e8d580',
    500: '#d8c445',
    950: '#000000',
  },
}
SCSS
$custom: #d8c445;
$custom-light: #e8d580;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c445",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 69
  },
  "hsl": {
    "h": 51.837,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81445,
    "c": 0.14456,
    "h": 100.2
  },
  "luminance": 0.54508
}

Semantic roles & 50–950 ramp

primary
#D8C445
secondary
#34408D
accent
#56E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C445

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

Preview Lab → · Contrast checker → · Palette generator →

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