#D8D95E#D8D95E

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

Color values

HEX#D8D95E
RGBrgb(216, 217, 94)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0.5%, 0%, 56.7%, 14.9%)
CIE-LABlab(84.50, -16.15, 59.15)
CIE-LCHlch(84.50, 61.31, 105.27°)
OKLaboklab(86.08% -0.0484 0.1366)
OKLCHoklch(86.08% 0.145 109.5)
XYZxyz(55.1537, 65.0342, 20.2350)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D95E #5F5ED9
analogous
#D99C5E #D8D95E #9AD95E
triadic
#D8D95E #5ED8D9 #D95ED8
tetradic
#D8D95E #5ED99C #5F5ED9 #D95E9A
square
#D8D95E #5ED99C #5F5ED9 #D95E9A
split-complementary
#D8D95E #5E9AD9 #9C5ED9
monochromatic
#989924 #C9CA30 #D8D95E #E4E590 #F0F0C1

Accessibility & contrast

On white

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

On black

14.01
#D8D95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D95E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D95E#FFFFFF#000000##000000
##D8D95E1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d95e;
/* rgb */ color: rgb(216, 217, 94);
/* oklch */ color: oklch(86.1% 0.145 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e490',
    500: '#d8d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d95e;
$custom-light: #e7e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d95e",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 60.488,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8608,
    "c": 0.14497,
    "h": 109.5
  },
  "luminance": 0.65033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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