#D8D646#D8D646

#D8D646 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.160 H 108.6°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D8D646
RGBrgb(216, 214, 70)
HSLhsl(59, 65%, 56%)
HSVhsv(59, 68%, 85%)
CMYKcmyk(0%, 0.9%, 67.6%, 15.3%)
CIE-LABlab(83.51, -16.18, 67.91)
CIE-LCHlch(83.51, 69.81, 103.40°)
OKLaboklab(85.23% -0.051 0.1518)
OKLCHoklch(85.23% 0.16 108.6)
XYZxyz(53.4728, 63.1359, 15.1629)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D646 #4648D8
analogous
#D88D46 #D8D646 #91D846
triadic
#D8D646 #46D8D6 #D646D8
tetradic
#D8D646 #46D88D #4648D8 #D84691
square
#D8D646 #46D88D #4648D8 #D84691
split-complementary
#D8D646 #4691D8 #8D46D8
monochromatic
#87861C #BAB827 #D8D646 #E3E179 #EDECAB

Accessibility & contrast

On white

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

On black

13.63
#D8D646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D646
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D646#FFFFFF#000000##000000
##D8D6461.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD30
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#E7C9B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d646;
/* rgb */ color: rgb(216, 214, 70);
/* oklch */ color: oklch(85.2% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e282',
    500: '#d8d646',
    950: '#000000',
  },
}
SCSS
$custom: #d8d646;
$custom-light: #e8e282;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d646",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 70
  },
  "hsl": {
    "h": 59.178,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85231,
    "c": 0.1601,
    "h": 108.6
  },
  "luminance": 0.63134
}

Semantic roles & 50–950 ramp

primary
#D8D646
secondary
#35368D
accent
#42E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D646

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

Preview Lab → · Contrast checker → · Palette generator →

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