#D8D54E#D8D54E

#D8D54E is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.1% C 0.154 H 108.0°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D8D54E
RGBrgb(216, 213, 78)
HSLhsl(59, 64%, 58%)
HSVhsv(59, 64%, 85%)
CMYKcmyk(0%, 1.4%, 63.9%, 15.3%)
CIE-LABlab(83.30, -15.23, 64.59)
CIE-LCHlch(83.30, 66.36, 103.27°)
OKLaboklab(85.08% -0.0475 0.146)
OKLCHoklch(85.08% 0.154 108)
XYZxyz(53.4901, 62.7391, 16.4984)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D54E #4E51D8
analogous
#D8904E #D8D54E #96D84E
triadic
#D8D54E #4ED8D5 #D54ED8
tetradic
#D8D54E #4ED890 #4E51D8 #D84E96
square
#D8D54E #4ED890 #4E51D8 #D84E96
split-complementary
#D8D54E #4E96D8 #904ED8
monochromatic
#8D8A1F #BFBC2A #D8D54E #E3E180 #EEEDB2

Accessibility & contrast

On white

1.55
#D8D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D8D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D54E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D54E#FFFFFF#000000##000000
##D8D54E1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3C
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d54e;
/* rgb */ color: rgb(216, 213, 78);
/* oklch */ color: oklch(85.1% 0.154 108.0);
Tailwind
colors: {
  custom: {
    50: '#e7e186',
    500: '#d8d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d54e;
$custom-light: #e7e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d54e",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 58.696,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85083,
    "c": 0.15356,
    "h": 108
  },
  "luminance": 0.62737
}

Semantic roles & 50–950 ramp

primary
#D8D54E
secondary
#383A92
accent
#45E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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