#D8CE45#D8CE45

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

Color values

HEX#D8CE45
RGBrgb(216, 206, 69)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 85%)
CMYKcmyk(0%, 4.6%, 68.1%, 15.3%)
CIE-LABlab(81.39, -12.23, 66.15)
CIE-LCHlch(81.39, 67.27, 100.48°)
OKLaboklab(83.53% -0.04 0.1479)
OKLCHoklch(83.53% 0.153 105.1)
XYZxyz(51.4664, 59.1731, 14.3396)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CE45 #454FD8
analogous
#D88445 #D8CE45 #99D845
triadic
#D8CE45 #45D8CE #CE45D8
tetradic
#D8CE45 #45D884 #454FD8 #D84599
square
#D8CE45 #45D884 #454FD8 #D84599
split-complementary
#D8CE45 #4599D8 #8445D8
monochromatic
#867F1C #B9AF27 #D8CE45 #E3DB78 #EDE9AA

Accessibility & contrast

On white

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

On black

12.83
#D8CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CE45
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CE45#FFFFFF#000000##000000
##D8CE451.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ce45;
/* rgb */ color: rgb(216, 206, 69);
/* oklch */ color: oklch(83.5% 0.153 105.1);
Tailwind
colors: {
  custom: {
    50: '#e8dc80',
    500: '#d8ce45',
    950: '#000000',
  },
}
SCSS
$custom: #d8ce45;
$custom-light: #e8dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ce45",
  "rgb": {
    "r": 216,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 55.918,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83534,
    "c": 0.15321,
    "h": 105.1
  },
  "luminance": 0.59171
}

Semantic roles & 50–950 ramp

primary
#D8CE45
secondary
#343A8D
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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