#D8D63E#D8D63E

#D8D63E is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.165 H 108.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D8D63E
RGBrgb(216, 214, 62)
HSLhsl(59, 66%, 55%)
HSVhsv(59, 71%, 85%)
CMYKcmyk(0%, 0.9%, 71.3%, 15.3%)
CIE-LABlab(83.46, -16.57, 70.74)
CIE-LCHlch(83.46, 72.65, 103.18°)
OKLaboklab(85.18% -0.0529 0.1564)
OKLCHoklch(85.18% 0.165 108.7)
XYZxyz(53.2369, 63.0415, 13.9204)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D63E #3E40D8
analogous
#D8893E #D8D63E #8DD83E
triadic
#D8D63E #3ED8D6 #D63ED8
tetradic
#D8D63E #3ED889 #3E40D8 #D83E8D
square
#D8D63E #3ED889 #3E40D8 #D83E8D
split-complementary
#D8D63E #3E8DD8 #893ED8
monochromatic
#81801A #B4B224 #D8D63E #E2E171 #EDECA4

Accessibility & contrast

On white

1.54
#D8D63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D8D63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D63E
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D63E#FFFFFF#000000##000000
##D8D63E1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD22
Deuteranopia (green-blind)
#EAD249
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d63e;
/* rgb */ color: rgb(216, 214, 62);
/* oklch */ color: oklch(85.2% 0.165 108.7);
Tailwind
colors: {
  custom: {
    50: '#e8e27d',
    500: '#d8d63e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d63e;
$custom-light: #e8e27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d63e",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 62
  },
  "hsl": {
    "h": 59.221,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85176,
    "c": 0.16507,
    "h": 108.7
  },
  "luminance": 0.6304
}

Semantic roles & 50–950 ramp

primary
#D8D63E
secondary
#323388
accent
#41E93E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8D63E

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

Preview Lab → · Contrast checker → · Palette generator →

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