#D8CE50#D8CE50

#D8CE50 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.145 H 104.8°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D8CE50
RGBrgb(216, 206, 80)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 4.6%, 63%, 15.3%)
CIE-LABlab(81.47, -11.60, 61.84)
CIE-LCHlch(81.47, 62.92, 100.63°)
OKLaboklab(83.63% -0.0371 0.1405)
OKLCHoklch(83.63% 0.145 104.8)
XYZxyz(51.8401, 59.3226, 16.3076)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE50 #505AD8
analogous
#D88A50 #D8CE50 #9ED850
triadic
#D8CE50 #50D8CE #CE50D8
tetradic
#D8CE50 #50D88A #505AD8 #D8509E
square
#D8CE50 #50D88A #505AD8 #D8509E
split-complementary
#D8CE50 #509ED8 #8A50D8
monochromatic
#8E8620 #C0B52B #D8CE50 #E3DC82 #EEEAB4

Accessibility & contrast

On white

1.63
#D8CE50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D8CE50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE50
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE50#FFFFFF#000000##000000
##D8CE501.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC740
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#E7C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8ce50;
/* rgb */ color: rgb(216, 206, 80);
/* oklch */ color: oklch(83.6% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc87',
    500: '#d8ce50',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce50;
$custom-light: #e7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce50",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 80
  },
  "hsl": {
    "h": 55.588,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83625,
    "c": 0.1453,
    "h": 104.8
  },
  "luminance": 0.59321
}

Semantic roles & 50–950 ramp

primary
#D8CE50
secondary
#393F94
accent
#4DE741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CE50

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

Preview Lab → · Contrast checker → · Palette generator →

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