#D8D154#D8D154

#D8D154 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.145 H 106.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D8D154
RGBrgb(216, 209, 84)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 61%, 85%)
CMYKcmyk(0%, 3.2%, 61.1%, 15.3%)
CIE-LABlab(82.29, -12.86, 61.04)
CIE-LCHlch(82.29, 62.38, 101.90°)
OKLaboklab(84.29% -0.0402 0.1394)
OKLCHoklch(84.29% 0.145 106.1)
XYZxyz(52.7214, 60.8417, 17.3523)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D154 #545BD8
analogous
#D88F54 #D8D154 #9DD854
triadic
#D8D154 #54D8D1 #D154D8
tetradic
#D8D154 #54D88F #545BD8 #D8549D
square
#D8D154 #54D88F #545BD8 #D8549D
split-complementary
#D8D154 #549DD8 #8F54D8
monochromatic
#918B21 #C2BA2C #D8D154 #E3DE86 #EFECB8

Accessibility & contrast

On white

1.59
#D8D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#D8D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D154
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D154#FFFFFF#000000##000000
##D8D1541.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA45
Deuteranopia (green-blind)
#E5CF5B
Tritanopia (blue-blind)
#E7C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d154;
/* rgb */ color: rgb(216, 209, 84);
/* oklch */ color: oklch(84.3% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e7de89',
    500: '#d8d154',
    950: '#000000',
  },
}
SCSS
$custom: #d8d154;
$custom-light: #e7de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d154",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 56.818,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84293,
    "c": 0.14505,
    "h": 106.1
  },
  "luminance": 0.6084
}

Semantic roles & 50–950 ramp

primary
#D8D154
secondary
#3A3F96
accent
#4BE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D154

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

Preview Lab → · Contrast checker → · Palette generator →

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