#D8CE51#D8CE51

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

Color values

HEX#D8CE51
RGBrgb(216, 206, 81)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 4.6%, 62.5%, 15.3%)
CIE-LABlab(81.48, -11.54, 61.43)
CIE-LCHlch(81.48, 62.50, 100.64°)
OKLaboklab(83.63% -0.0368 0.1398)
OKLCHoklch(83.63% 0.145 104.7)
XYZxyz(51.8773, 59.3375, 16.5036)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE51 #515BD8
analogous
#D88B51 #D8CE51 #9ED851
triadic
#D8CE51 #51D8CE #CE51D8
tetradic
#D8CE51 #51D88B #515BD8 #D8519E
square
#D8CE51 #51D88B #515BD8 #D8519E
split-complementary
#D8CE51 #519ED8 #8B51D8
monochromatic
#8F8620 #C1B62B #D8CE51 #E3DC83 #EEEAB5

Accessibility & contrast

On white

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

On black

12.87
#D8CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE51
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE51#FFFFFF#000000##000000
##D8CE511.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ce51;
/* rgb */ color: rgb(216, 206, 81);
/* oklch */ color: oklch(83.6% 0.145 104.7);
Tailwind
colors: {
  custom: {
    50: '#e7dc87',
    500: '#d8ce51',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce51;
$custom-light: #e7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce51",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 55.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83634,
    "c": 0.14453,
    "h": 104.7
  },
  "luminance": 0.59336
}

Semantic roles & 50–950 ramp

primary
#D8CE51
secondary
#394094
accent
#4EE641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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