#D8D93E#D8D93E

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

Color values

HEX#D8D93E
RGBrgb(216, 217, 62)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 71%, 85%)
CMYKcmyk(0.5%, 0%, 71.4%, 14.9%)
CIE-LABlab(84.26, -18.05, 71.50)
CIE-LCHlch(84.26, 73.74, 104.17°)
OKLaboklab(85.82% -0.057 0.158)
OKLCHoklch(85.82% 0.168 109.8)
XYZxyz(54.0032, 64.5740, 14.1758)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D93E #3F3ED9
analogous
#D98D3E #D8D93E #8BD93E
triadic
#D8D93E #3ED8D9 #D93ED8
tetradic
#D8D93E #3ED98D #3F3ED9 #D93E8B
square
#D8D93E #3ED98D #3F3ED9 #D93E8B
split-complementary
#D8D93E #3E8BD9 #8D3ED9
monochromatic
#82831A #B5B624 #D8D93E #E2E371 #EDEDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D93E#FFFFFF#000000##000000
##D8D93E1.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)
#EAD020
Deuteranopia (green-blind)
#ECD44A
Tritanopia (blue-blind)
#E7CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d93e;
/* rgb */ color: rgb(216, 217, 62);
/* oklch */ color: oklch(85.8% 0.168 109.8);
Tailwind
colors: {
  custom: {
    50: '#e8e47e',
    500: '#d8d93e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d93e;
$custom-light: #e8e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d93e",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 62
  },
  "hsl": {
    "h": 60.387,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85815,
    "c": 0.16796,
    "h": 109.8
  },
  "luminance": 0.64572
}

Semantic roles & 50–950 ramp

primary
#D8D93E
secondary
#32328A
accent
#3EEA3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8D93E

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

Preview Lab → · Contrast checker → · Palette generator →

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