#D8CE48#D8CE48

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

Color values

HEX#D8CE48
RGBrgb(216, 206, 72)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 67%, 85%)
CMYKcmyk(0%, 4.6%, 66.7%, 15.3%)
CIE-LABlab(81.41, -12.07, 65.01)
CIE-LCHlch(81.41, 66.12, 100.52°)
OKLaboklab(83.56% -0.0392 0.146)
OKLCHoklch(83.56% 0.151 105)
XYZxyz(51.5619, 59.2113, 14.8425)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE48 #4852D8
analogous
#D88648 #D8CE48 #9AD848
triadic
#D8CE48 #48D8CE #CE48D8
tetradic
#D8CE48 #48D886 #4852D8 #D8489A
square
#D8CE48 #48D886 #4852D8 #D8489A
split-complementary
#D8CE48 #489AD8 #8648D8
monochromatic
#89811D #BBB128 #D8CE48 #E3DC7A #EEE9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CE48#FFFFFF#000000##000000
##D8CE481.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)
#DFC735
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#E8C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8ce48;
/* rgb */ color: rgb(216, 206, 72);
/* oklch */ color: oklch(83.6% 0.151 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc82',
    500: '#d8ce48',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce48;
$custom-light: #e7dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce48",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 55.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83557,
    "c": 0.15115,
    "h": 105
  },
  "luminance": 0.59209
}

Semantic roles & 50–950 ramp

primary
#D8CE48
secondary
#363C8F
accent
#4CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CE48

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

Preview Lab → · Contrast checker → · Palette generator →

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