#D8CD45#D8CD45

#D8CD45 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.152 H 104.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D8CD45
RGBrgb(216, 205, 69)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 5.1%, 68.1%, 15.3%)
CIE-LABlab(81.12, -11.73, 65.89)
CIE-LCHlch(81.12, 66.92, 100.10°)
OKLaboklab(83.32% -0.0386 0.1473)
OKLCHoklch(83.32% 0.152 104.7)
XYZxyz(51.2264, 58.6932, 14.2596)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD45 #4550D8
analogous
#D88345 #D8CD45 #99D845
triadic
#D8CD45 #45D8CD #CD45D8
tetradic
#D8CD45 #45D883 #4550D8 #D84599
square
#D8CD45 #45D883 #4550D8 #D84599
split-complementary
#D8CD45 #4599D8 #8345D8
monochromatic
#867E1C #B9AE27 #D8CD45 #E3DB78 #EDE8AA

Accessibility & contrast

On white

1.65
#D8CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D8CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD45
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD45#FFFFFF#000000##000000
##D8CD451.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC631
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E8BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cd45;
/* rgb */ color: rgb(216, 205, 69);
/* oklch */ color: oklch(83.3% 0.152 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8db80',
    500: '#d8cd45',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd45;
$custom-light: #e8db80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd45",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 55.51,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83324,
    "c": 0.1523,
    "h": 104.7
  },
  "luminance": 0.58691
}

Semantic roles & 50–950 ramp

primary
#D8CD45
secondary
#343B8D
accent
#4CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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