#D8CE4B#D8CE4B

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

Color values

HEX#D8CE4B
RGBrgb(216, 206, 75)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 65%, 85%)
CMYKcmyk(0%, 4.6%, 65.3%, 15.3%)
CIE-LABlab(81.43, -11.90, 63.84)
CIE-LCHlch(81.43, 64.94, 100.56°)
OKLaboklab(83.58% -0.0384 0.144)
OKLCHoklch(83.58% 0.149 105)
XYZxyz(51.6622, 59.2514, 15.3706)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE4B #4B55D8
analogous
#D8884B #D8CE4B #9BD84B
triadic
#D8CE4B #4BD8CE #CE4BD8
tetradic
#D8CE4B #4BD888 #4B55D8 #D84B9B
square
#D8CE4B #4BD888 #4B55D8 #D84B9B
split-complementary
#D8CE4B #4B9BD8 #884BD8
monochromatic
#8B831E #BDB229 #D8CE4B #E3DC7D #EEE9B0

Accessibility & contrast

On white

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

On black

12.85
#D8CE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE4B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE4B#FFFFFF#000000##000000
##D8CE4B1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73A
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#E7C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8ce4b;
/* rgb */ color: rgb(216, 206, 75);
/* oklch */ color: oklch(83.6% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d8ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce4b;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce4b",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 55.745,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83582,
    "c": 0.14903,
    "h": 105
  },
  "luminance": 0.5925
}

Semantic roles & 50–950 ramp

primary
#D8CE4B
secondary
#373D90
accent
#4CE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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