#D8D95C#D8D95C

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

Color values

HEX#D8D95C
RGBrgb(216, 217, 92)
HSLhsl(60, 62%, 61%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0.5%, 0%, 57.6%, 14.9%)
CIE-LABlab(84.48, -16.30, 60.00)
CIE-LCHlch(84.48, 62.17, 105.20°)
OKLaboklab(86.06% -0.0491 0.1382)
OKLCHoklch(86.06% 0.147 109.5)
XYZxyz(55.0651, 64.9988, 19.7685)
Luminance0.6500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D95C #5D5CD9
analogous
#D99B5C #D8D95C #99D95C
triadic
#D8D95C #5CD8D9 #D95CD8
tetradic
#D8D95C #5CD99B #5D5CD9 #D95C99
square
#D8D95C #5CD99B #5D5CD9 #D95C99
split-complementary
#D8D95C #5C99D9 #9B5CD9
monochromatic
#969723 #C8C92F #D8D95C #E4E58E #F0F0BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D95C#FFFFFF#000000##000000
##D8D95C1.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)
#E9D14E
Deuteranopia (green-blind)
#EAD563
Tritanopia (blue-blind)
#E6CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d95c;
/* rgb */ color: rgb(216, 217, 92);
/* oklch */ color: oklch(86.1% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e48f',
    500: '#d8d95c',
    950: '#000000',
  },
}
SCSS
$custom: #d8d95c;
$custom-light: #e7e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d95c",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 60.48,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8606,
    "c": 0.14666,
    "h": 109.5
  },
  "luminance": 0.64997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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