#D8D75E#D8D75E

#D8D75E is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.143 H 108.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D8D75E
RGBrgb(216, 215, 94)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0.5%, 56.5%, 15.3%)
CIE-LABlab(83.97, -15.16, 58.55)
CIE-LCHlch(83.97, 60.48, 104.52°)
OKLaboklab(85.66% -0.0456 0.1354)
OKLCHoklch(85.66% 0.143 108.6)
XYZxyz(54.6413, 64.0094, 20.0642)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D75E #5E5FD8
analogous
#D89A5E #D8D75E #9CD85E
triadic
#D8D75E #5ED8D7 #D75ED8
tetradic
#D8D75E #5ED89A #5E5FD8 #D85E9C
square
#D8D75E #5ED89A #5E5FD8 #D85E9C
split-complementary
#D8D75E #5E9CD8 #9A5ED8
monochromatic
#979625 #C8C731 #D8D75E #E4E38F #F0EFC1

Accessibility & contrast

On white

1.52
#D8D75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D8D75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D75E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D75E#FFFFFF#000000##000000
##D8D75E1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#E9D365
Tritanopia (blue-blind)
#E6CBBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d75e;
/* rgb */ color: rgb(216, 215, 94);
/* oklch */ color: oklch(85.7% 0.143 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d8d75e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d75e;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d75e",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 59.508,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85657,
    "c": 0.14286,
    "h": 108.6
  },
  "luminance": 0.64008
}

Semantic roles & 50–950 ramp

primary
#D8D75E
secondary
#3F3F9C
accent
#1EC91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D75E

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

Preview Lab → · Contrast checker → · Palette generator →

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