#D8D346#D8D346

#D8D346 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.157 H 107.3°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D8D346
RGBrgb(216, 211, 70)
HSLhsl(58, 65%, 56%)
HSVhsv(58, 68%, 85%)
CMYKcmyk(0%, 2.3%, 67.6%, 15.3%)
CIE-LABlab(82.72, -14.69, 67.11)
CIE-LCHlch(82.72, 68.70, 102.34°)
OKLaboklab(84.6% -0.0468 0.1501)
OKLCHoklch(84.6% 0.157 107.3)
XYZxyz(52.7206, 61.6314, 14.9121)
Luminance0.6163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D346 #464BD8
analogous
#D88A46 #D8D346 #94D846
triadic
#D8D346 #46D8D3 #D346D8
tetradic
#D8D346 #46D88A #464BD8 #D84694
square
#D8D346 #46D88A #464BD8 #D84694
split-complementary
#D8D346 #4694D8 #8A46D8
monochromatic
#87831C #BAB527 #D8D346 #E3DF79 #EDEBAB

Accessibility & contrast

On white

1.58
#D8D346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#D8D346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D346
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D346#FFFFFF#000000##000000
##D8D3461.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB31
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#E7C6B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d346;
/* rgb */ color: rgb(216, 211, 70);
/* oklch */ color: oklch(84.6% 0.157 107.3);
Tailwind
colors: {
  custom: {
    50: '#e8e081',
    500: '#d8d346',
    950: '#000000',
  },
}
SCSS
$custom: #d8d346;
$custom-light: #e8e081;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d346",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 70
  },
  "hsl": {
    "h": 57.945,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84596,
    "c": 0.1572,
    "h": 107.3
  },
  "luminance": 0.6163
}

Semantic roles & 50–950 ramp

primary
#D8D346
secondary
#35388D
accent
#45E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D346

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

Preview Lab → · Contrast checker → · Palette generator →

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