#D8D95B#D8D95B

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

Color values

HEX#D8D95B
RGBrgb(216, 217, 91)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0.5%, 0%, 58.1%, 14.9%)
CIE-LABlab(84.47, -16.37, 60.42)
CIE-LCHlch(84.47, 62.60, 105.16°)
OKLaboklab(86.05% -0.0494 0.139)
OKLCHoklch(86.05% 0.147 109.6)
XYZxyz(55.0216, 64.9814, 19.5398)
Luminance0.6498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D95B #5C5BD9
analogous
#D99B5B #D8D95B #99D95B
triadic
#D8D95B #5BD8D9 #D95BD8
tetradic
#D8D95B #5BD99B #5C5BD9 #D95B99
square
#D8D95B #5BD99B #5C5BD9 #D95B99
split-complementary
#D8D95B #5B99D9 #9B5BD9
monochromatic
#969723 #C7C82E #D8D95B #E4E58D #F0F0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D95B#FFFFFF#000000##000000
##D8D95B1.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)
#E9D14D
Deuteranopia (green-blind)
#EAD562
Tritanopia (blue-blind)
#E6CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d95b;
/* rgb */ color: rgb(216, 217, 91);
/* oklch */ color: oklch(86.1% 0.147 109.6);
Tailwind
colors: {
  custom: {
    50: '#e7e48e',
    500: '#d8d95b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d95b;
$custom-light: #e7e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d95b",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 60.476,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8605,
    "c": 0.14749,
    "h": 109.6
  },
  "luminance": 0.6498
}

Semantic roles & 50–950 ramp

primary
#D8D95B
secondary
#3E3D9B
accent
#1BCA1D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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