#D8D75B#D8D75B

#D8D75B is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.145 H 108.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D8D75B
RGBrgb(216, 215, 91)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0%, 0.5%, 57.9%, 15.3%)
CIE-LABlab(83.94, -15.38, 59.83)
CIE-LCHlch(83.94, 61.78, 104.41°)
OKLaboklab(85.63% -0.0466 0.1377)
OKLCHoklch(85.63% 0.145 108.7)
XYZxyz(54.5093, 63.9566, 19.3690)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D75B #5B5CD8
analogous
#D8985B #D8D75B #9AD85B
triadic
#D8D75B #5BD8D7 #D75BD8
tetradic
#D8D75B #5BD898 #5B5CD8 #D85B9A
square
#D8D75B #5BD898 #5B5CD8 #D85B9A
split-complementary
#D8D75B #5B9AD8 #985BD8
monochromatic
#959423 #C7C52F #D8D75B #E4E38C #F0EFBE

Accessibility & contrast

On white

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

On black

13.79
#D8D75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D75B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D75B#FFFFFF#000000##000000
##D8D75B1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E9D362
Tritanopia (blue-blind)
#E6CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d75b;
/* rgb */ color: rgb(216, 215, 91);
/* oklch */ color: oklch(85.6% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38e',
    500: '#d8d75b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d75b;
$custom-light: #e7e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d75b",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 59.52,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85626,
    "c": 0.14539,
    "h": 108.7
  },
  "luminance": 0.63955
}

Semantic roles & 50–950 ramp

primary
#D8D75B
secondary
#3D3E9A
accent
#1EC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D75B

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

Preview Lab → · Contrast checker → · Palette generator →

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