#D8D54B#D8D54B

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

Color values

HEX#D8D54B
RGBrgb(216, 213, 75)
HSLhsl(59, 64%, 57%)
HSVhsv(59, 65%, 85%)
CMYKcmyk(0%, 1.4%, 65.3%, 15.3%)
CIE-LABlab(83.28, -15.41, 65.76)
CIE-LCHlch(83.28, 67.54, 103.18°)
OKLaboklab(85.06% -0.0483 0.148)
OKLCHoklch(85.06% 0.156 108.1)
XYZxyz(53.3850, 62.6971, 15.9449)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D54B #4B4ED8
analogous
#D88E4B #D8D54B #95D84B
triadic
#D8D54B #4BD8D5 #D54BD8
tetradic
#D8D54B #4BD88E #4B4ED8 #D84B95
square
#D8D54B #4BD88E #4B4ED8 #D84B95
split-complementary
#D8D54B #4B95D8 #8E4BD8
monochromatic
#8B881E #BDBA29 #D8D54B #E3E17D #EEECB0

Accessibility & contrast

On white

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

On black

13.54
#D8D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D54B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D54B#FFFFFF#000000##000000
##D8D54B1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d54b;
/* rgb */ color: rgb(216, 213, 75);
/* oklch */ color: oklch(85.1% 0.156 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e184',
    500: '#d8d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d54b;
$custom-light: #e7e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d54b",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 58.723,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85058,
    "c": 0.15571,
    "h": 108.1
  },
  "luminance": 0.62695
}

Semantic roles & 50–950 ramp

primary
#D8D54B
secondary
#373990
accent
#44E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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