#D8D93D#D8D93D

#D8D93D 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#D8D93D
RGBrgb(216, 217, 61)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 72%, 85%)
CMYKcmyk(0.5%, 0%, 71.9%, 14.9%)
CIE-LABlab(84.26, -18.09, 71.84)
CIE-LCHlch(84.26, 74.08, 104.14°)
OKLaboklab(85.81% -0.0572 0.1585)
OKLCHoklch(85.81% 0.169 109.9)
XYZxyz(53.9760, 64.5631, 14.0326)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D93D #3E3DD9
analogous
#D98C3D #D8D93D #8AD93D
triadic
#D8D93D #3DD8D9 #D93DD8
tetradic
#D8D93D #3DD98C #3E3DD9 #D93D8A
square
#D8D93D #3DD98C #3E3DD9 #D93D8A
split-complementary
#D8D93D #3D8AD9 #8C3DD9
monochromatic
#818219 #B4B524 #D8D93D #E2E370 #EDEDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D93D#FFFFFF#000000##000000
##D8D93D1.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)
#EAD01E
Deuteranopia (green-blind)
#ECD449
Tritanopia (blue-blind)
#E7CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d93d;
/* rgb */ color: rgb(216, 217, 61);
/* oklch */ color: oklch(85.8% 0.169 109.9);
Tailwind
colors: {
  custom: {
    50: '#e8e47d',
    500: '#d8d93d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d93d;
$custom-light: #e8e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d93d",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 60.385,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85808,
    "c": 0.16853,
    "h": 109.9
  },
  "luminance": 0.64562
}

Semantic roles & 50–950 ramp

primary
#D8D93D
secondary
#323189
accent
#3EEA3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8D93D

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

Preview Lab → · Contrast checker → · Palette generator →

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