#D8CE47#D8CE47

#D8CE47 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.152 H 105.1°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D8CE47
RGBrgb(216, 206, 71)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 67%, 85%)
CMYKcmyk(0%, 4.6%, 67.1%, 15.3%)
CIE-LABlab(81.40, -12.13, 65.40)
CIE-LCHlch(81.40, 66.51, 100.51°)
OKLaboklab(83.55% -0.0395 0.1466)
OKLCHoklch(83.55% 0.152 105.1)
XYZxyz(51.5295, 59.1984, 14.6721)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE47 #4751D8
analogous
#D88647 #D8CE47 #9AD847
triadic
#D8CE47 #47D8CE #CE47D8
tetradic
#D8CE47 #47D886 #4751D8 #D8479A
square
#D8CE47 #47D886 #4751D8 #D8479A
split-complementary
#D8CE47 #479AD8 #8647D8
monochromatic
#88801D #BAB027 #D8CE47 #E3DB79 #EDE9AC

Accessibility & contrast

On white

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

On black

12.84
#D8CE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE47
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE47#FFFFFF#000000##000000
##D8CE471.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC734
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#E8C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8ce47;
/* rgb */ color: rgb(216, 206, 71);
/* oklch */ color: oklch(83.5% 0.152 105.1);
Tailwind
colors: {
  custom: {
    50: '#e7dc82',
    500: '#d8ce47',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce47;
$custom-light: #e7dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce47",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 71
  },
  "hsl": {
    "h": 55.862,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83549,
    "c": 0.15185,
    "h": 105.1
  },
  "luminance": 0.59196
}

Semantic roles & 50–950 ramp

primary
#D8CE47
secondary
#353B8E
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CE47

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

Preview Lab → · Contrast checker → · Palette generator →

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