#D8CD50#D8CD50

#D8CD50 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.144 H 104.3°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D8CD50
RGBrgb(216, 205, 80)
HSLhsl(55, 64%, 58%)
HSVhsv(55, 63%, 85%)
CMYKcmyk(0%, 5.1%, 63%, 15.3%)
CIE-LABlab(81.20, -11.10, 61.56)
CIE-LCHlch(81.20, 62.55, 100.22°)
OKLaboklab(83.42% -0.0356 0.1399)
OKLCHoklch(83.42% 0.144 104.3)
XYZxyz(51.6001, 58.8426, 16.2276)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD50 #505BD8
analogous
#D88950 #D8CD50 #9FD850
triadic
#D8CD50 #50D8CD #CD50D8
tetradic
#D8CD50 #50D889 #505BD8 #D8509F
square
#D8CD50 #50D889 #505BD8 #D8509F
split-complementary
#D8CD50 #509FD8 #8950D8
monochromatic
#8E8520 #C0B42B #D8CD50 #E3DB82 #EEEAB4

Accessibility & contrast

On white

1.64
#D8CD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D8CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD50
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD50#FFFFFF#000000##000000
##D8CD501.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#E7C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd50;
/* rgb */ color: rgb(216, 205, 80);
/* oklch */ color: oklch(83.4% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#e7dc87',
    500: '#d8cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd50;
$custom-light: #e7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd50",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 55.147,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83416,
    "c": 0.14436,
    "h": 104.3
  },
  "luminance": 0.58841
}

Semantic roles & 50–950 ramp

primary
#D8CD50
secondary
#394094
accent
#4FE741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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