#D8D93F#D8D93F

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

Color values

HEX#D8D93F
RGBrgb(216, 217, 63)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 71%, 85%)
CMYKcmyk(0.5%, 0%, 71%, 14.9%)
CIE-LABlab(84.27, -18.00, 71.17)
CIE-LCHlch(84.27, 73.41, 104.20°)
OKLaboklab(85.82% -0.0568 0.1575)
OKLCHoklch(85.82% 0.167 109.8)
XYZxyz(54.0309, 64.5851, 14.3217)
Luminance0.6458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D93F #403FD9
analogous
#D98D3F #D8D93F #8BD93F
triadic
#D8D93F #3FD8D9 #D93FD8
tetradic
#D8D93F #3FD98D #403FD9 #D93F8B
square
#D8D93F #3FD98D #403FD9 #D93F8B
split-complementary
#D8D93F #3F8BD9 #8D3FD9
monochromatic
#83841A #B6B724 #D8D93F #E2E372 #EDEDA5

Accessibility & contrast

On white

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

On black

13.92
#D8D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D93F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D93F#FFFFFF#000000##000000
##D8D93F1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d93f;
/* rgb */ color: rgb(216, 217, 63);
/* oklch */ color: oklch(85.8% 0.167 109.8);
Tailwind
colors: {
  custom: {
    50: '#e8e47e',
    500: '#d8d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d93f;
$custom-light: #e8e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d93f",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 60.39,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85821,
    "c": 0.16738,
    "h": 109.8
  },
  "luminance": 0.64584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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