#D8D95D#D8D95D

#D8D95D is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.1% C 0.146 H 109.5°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#D8D95D
RGBrgb(216, 217, 93)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0.5%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.49, -16.22, 59.57)
CIE-LCHlch(84.49, 61.74, 105.23°)
OKLaboklab(86.07% -0.0488 0.1374)
OKLCHoklch(86.07% 0.146 109.5)
XYZxyz(55.1091, 65.0164, 20.0002)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D95D #5E5DD9
analogous
#D99C5D #D8D95D #9AD95D
triadic
#D8D95D #5DD8D9 #D95DD8
tetradic
#D8D95D #5DD99C #5E5DD9 #D95D9A
square
#D8D95D #5DD99C #5E5DD9 #D95D9A
split-complementary
#D8D95D #5D9AD9 #9C5DD9
monochromatic
#979824 #C8CA2F #D8D95D #E4E58F #F0F0C0

Accessibility & contrast

On white

1.50
#D8D95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#D8D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D95D
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D95D#FFFFFF#000000##000000
##D8D95D1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14F
Deuteranopia (green-blind)
#EAD564
Tritanopia (blue-blind)
#E6CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d95d;
/* rgb */ color: rgb(216, 217, 93);
/* oklch */ color: oklch(86.1% 0.146 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e48f',
    500: '#d8d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d95d;
$custom-light: #e7e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d95d",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 60.484,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8607,
    "c": 0.14582,
    "h": 109.5
  },
  "luminance": 0.65015
}

Semantic roles & 50–950 ramp

primary
#D8D95D
secondary
#3F3E9C
accent
#1CCA1D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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