#D8D93C#D8D93C

#D8D93C is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.169 H 109.9°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D8D93C
RGBrgb(216, 217, 60)
HSLhsl(60, 67%, 54%)
HSVhsv(60, 72%, 85%)
CMYKcmyk(0.5%, 0%, 72.4%, 14.9%)
CIE-LABlab(84.25, -18.14, 72.16)
CIE-LCHlch(84.25, 74.41, 104.11°)
OKLaboklab(85.8% -0.0574 0.159)
OKLCHoklch(85.8% 0.169 109.9)
XYZxyz(53.9493, 64.5525, 13.8921)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D93C #3D3CD9
analogous
#D98C3C #D8D93C #8AD93C
triadic
#D8D93C #3CD8D9 #D93CD8
tetradic
#D8D93C #3CD98C #3D3CD9 #D93C8A
square
#D8D93C #3CD98C #3D3CD9 #D93C8A
split-complementary
#D8D93C #3C8AD9 #8C3CD9
monochromatic
#818119 #B4B523 #D8D93C #E2E36F #ECEDA2

Accessibility & contrast

On white

1.51
#D8D93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D8D93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D93C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D93C#FFFFFF#000000##000000
##D8D93C1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD01C
Deuteranopia (green-blind)
#ECD448
Tritanopia (blue-blind)
#E7CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d93c;
/* rgb */ color: rgb(216, 217, 60);
/* oklch */ color: oklch(85.8% 0.169 109.9);
Tailwind
colors: {
  custom: {
    50: '#e8e47d',
    500: '#d8d93c',
    950: '#000000',
  },
}
SCSS
$custom: #d8d93c;
$custom-light: #e8e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d93c",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 60.382,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85802,
    "c": 0.1691,
    "h": 109.9
  },
  "luminance": 0.64551
}

Semantic roles & 50–950 ramp

primary
#D8D93C
secondary
#313188
accent
#3EEA3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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