#D8D05A#D8D05A

#D8D05A is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.139 H 105.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D8D05A
RGBrgb(216, 208, 90)
HSLhsl(56, 62%, 60%)
HSVhsv(56, 58%, 85%)
CMYKcmyk(0%, 3.7%, 58.3%, 15.3%)
CIE-LABlab(82.08, -11.95, 58.21)
CIE-LCHlch(82.08, 59.42, 101.60°)
OKLaboklab(84.14% -0.0369 0.1342)
OKLCHoklch(84.14% 0.139 105.4)
XYZxyz(52.7220, 60.4506, 18.5618)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D05A #5A62D8
analogous
#D8915A #D8D05A #A1D85A
triadic
#D8D05A #5AD8D0 #D05AD8
tetradic
#D8D05A #5AD891 #5A62D8 #D85AA1
square
#D8D05A #5AD891 #5A62D8 #D85AA1
split-complementary
#D8D05A #5AA1D8 #915AD8
monochromatic
#958D23 #C6BC2F #D8D05A #E4DE8B #EFECBD

Accessibility & contrast

On white

1.60
#D8D05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D8D05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D05A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D05A#FFFFFF#000000##000000
##D8D05A1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E3CF60
Tritanopia (blue-blind)
#E7C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d05a;
/* rgb */ color: rgb(216, 208, 90);
/* oklch */ color: oklch(84.1% 0.139 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7de8d',
    500: '#d8d05a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d05a;
$custom-light: #e7de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d05a",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 90
  },
  "hsl": {
    "h": 56.19,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84142,
    "c": 0.13914,
    "h": 105.4
  },
  "luminance": 0.60449
}

Semantic roles & 50–950 ramp

primary
#D8D05A
secondary
#3D4399
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D05A

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

Preview Lab → · Contrast checker → · Palette generator →

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