#D8D95F#D8D95F

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

Color values

HEX#D8D95F
RGBrgb(216, 217, 95)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0.5%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.51, -16.08, 58.72)
CIE-LCHlch(84.51, 60.88, 105.31°)
OKLaboklab(86.09% -0.0481 0.1358)
OKLCHoklch(86.09% 0.144 109.5)
XYZxyz(55.1988, 65.0523, 20.4729)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D95F #605FD9
analogous
#D99D5F #D8D95F #9BD95F
triadic
#D8D95F #5FD8D9 #D95FD8
tetradic
#D8D95F #5FD99D #605FD9 #D95F9B
square
#D8D95F #5FD99D #605FD9 #D95F9B
split-complementary
#D8D95F #5F9BD9 #9D5FD9
monochromatic
#989924 #C9CB30 #D8D95F #E4E590 #F0F0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D95F#FFFFFF#000000##000000
##D8D95F1.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)
#E9D152
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#E6CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d95f;
/* rgb */ color: rgb(216, 217, 95);
/* oklch */ color: oklch(86.1% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e491',
    500: '#d8d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d95f;
$custom-light: #e7e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d95f",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 60.492,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86091,
    "c": 0.14411,
    "h": 109.5
  },
  "luminance": 0.65051
}

Semantic roles & 50–950 ramp

primary
#D8D95F
secondary
#3F3F9E
accent
#1CC91E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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