#D8D45A#D8D45A

#D8D45A is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.143 H 107.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D8D45A
RGBrgb(216, 212, 90)
HSLhsl(58, 62%, 60%)
HSVhsv(58, 58%, 85%)
CMYKcmyk(0%, 1.9%, 58.3%, 15.3%)
CIE-LABlab(83.14, -13.95, 59.38)
CIE-LCHlch(83.14, 61.00, 103.22°)
OKLaboklab(84.98% -0.0426 0.1366)
OKLCHoklch(84.98% 0.143 107.3)
XYZxyz(53.7095, 62.4257, 18.8910)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D45A #5A5ED8
analogous
#D8955A #D8D45A #9DD85A
triadic
#D8D45A #5AD8D4 #D45AD8
tetradic
#D8D45A #5AD895 #5A5ED8 #D85A9D
square
#D8D45A #5AD895 #5A5ED8 #D85A9D
split-complementary
#D8D45A #5A9DD8 #955AD8
monochromatic
#959123 #C6C12F #D8D45A #E4E18B #EFEEBD

Accessibility & contrast

On white

1.56
#D8D45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D8D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D45A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D45A#FFFFFF#000000##000000
##D8D45A1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4C
Deuteranopia (green-blind)
#E7D161
Tritanopia (blue-blind)
#E6C7BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d45a;
/* rgb */ color: rgb(216, 212, 90);
/* oklch */ color: oklch(85.0% 0.143 107.3);
Tailwind
colors: {
  custom: {
    50: '#e7e18d',
    500: '#d8d45a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d45a;
$custom-light: #e7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d45a",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 58.095,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84983,
    "c": 0.14314,
    "h": 107.3
  },
  "luminance": 0.62424
}

Semantic roles & 50–950 ramp

primary
#D8D45A
secondary
#3D4099
accent
#48E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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