#D8CC50#D8CC50

#D8CC50 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.143 H 103.8°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D8CC50
RGBrgb(216, 204, 80)
HSLhsl(55, 64%, 58%)
HSVhsv(55, 63%, 85%)
CMYKcmyk(0%, 5.6%, 63%, 15.3%)
CIE-LABlab(80.94, -10.59, 61.28)
CIE-LCHlch(80.94, 62.19, 99.81°)
OKLaboklab(83.21% -0.0342 0.1393)
OKLCHoklch(83.21% 0.143 103.8)
XYZxyz(51.3617, 58.3658, 16.1481)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC50 #505CD8
analogous
#D88850 #D8CC50 #A0D850
triadic
#D8CC50 #50D8CC #CC50D8
tetradic
#D8CC50 #50D888 #505CD8 #D850A0
square
#D8CC50 #50D888 #505CD8 #D850A0
split-complementary
#D8CC50 #50A0D8 #8850D8
monochromatic
#8E8420 #C0B32B #D8CC50 #E3DB82 #EEE9B4

Accessibility & contrast

On white

1.66
#D8CC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D8CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC50
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC50#FFFFFF#000000##000000
##D8CC501.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#E7BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc50;
/* rgb */ color: rgb(216, 204, 80);
/* oklch */ color: oklch(83.2% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e7db87',
    500: '#d8cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc50;
$custom-light: #e7db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc50",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 54.706,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83206,
    "c": 0.14344,
    "h": 103.8
  },
  "luminance": 0.58364
}

Semantic roles & 50–950 ramp

primary
#D8CC50
secondary
#394194
accent
#50E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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