#D8D846#D8D846

#D8D846 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.162 H 109.4°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D8D846
RGBrgb(216, 216, 70)
HSLhsl(60, 65%, 56%)
HSVhsv(60, 68%, 85%)
CMYKcmyk(0%, 0%, 67.6%, 15.3%)
CIE-LABlab(84.05, -17.16, 68.44)
CIE-LCHlch(84.05, 70.56, 104.08°)
OKLaboklab(85.66% -0.0538 0.1529)
OKLCHoklch(85.66% 0.162 109.4)
XYZxyz(53.9821, 64.1544, 15.3326)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D846 #4646D8
analogous
#D88F46 #D8D846 #8FD846
triadic
#D8D846 #46D8D8 #D846D8
tetradic
#D8D846 #46D88F #4646D8 #D8468F
square
#D8D846 #46D88F #4646D8 #D8468F
split-complementary
#D8D846 #468FD8 #8F46D8
monochromatic
#87871C #BABA27 #D8D846 #E3E379 #EDEDAB

Accessibility & contrast

On white

1.52
#D8D846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D8D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D846
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D846#FFFFFF#000000##000000
##D8D8461.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d846;
/* rgb */ color: rgb(216, 216, 70);
/* oklch */ color: oklch(85.7% 0.162 109.4);
Tailwind
colors: {
  custom: {
    50: '#e8e382',
    500: '#d8d846',
    950: '#000000',
  },
}
SCSS
$custom: #d8d846;
$custom-light: #e8e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d846",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85656,
    "c": 0.16207,
    "h": 109.4
  },
  "luminance": 0.64153
}

Semantic roles & 50–950 ramp

primary
#D8D846
secondary
#35358D
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D846

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

Preview Lab → · Contrast checker → · Palette generator →

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