#D8D349#D8D349

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

Color values

HEX#D8D349
RGBrgb(216, 211, 73)
HSLhsl(58, 65%, 57%)
HSVhsv(58, 66%, 85%)
CMYKcmyk(0%, 2.3%, 66.2%, 15.3%)
CIE-LABlab(82.74, -14.52, 65.98)
CIE-LCHlch(82.74, 67.56, 102.41°)
OKLaboklab(84.62% -0.0461 0.1482)
OKLCHoklch(84.62% 0.155 107.3)
XYZxyz(52.8177, 61.6702, 15.4234)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D349 #494ED8
analogous
#D88C49 #D8D349 #96D849
triadic
#D8D349 #49D8D3 #D349D8
tetradic
#D8D349 #49D88C #494ED8 #D84996
square
#D8D349 #49D88C #494ED8 #D84996
split-complementary
#D8D349 #4996D8 #8C49D8
monochromatic
#89851D #BCB628 #D8D349 #E3DF7B #EEEBAE

Accessibility & contrast

On white

1.57
#D8D349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D349#FFFFFF#000000##000000
##D8D3491.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d349;
/* rgb */ color: rgb(216, 211, 73);
/* oklch */ color: oklch(84.6% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e7e083',
    500: '#d8d349',
    950: '#000000',
  },
}
SCSS
$custom: #d8d349;
$custom-light: #e7e083;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d349",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 73
  },
  "hsl": {
    "h": 57.902,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84619,
    "c": 0.15516,
    "h": 107.3
  },
  "luminance": 0.61669
}

Semantic roles & 50–950 ramp

primary
#D8D349
secondary
#36398F
accent
#46E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D349

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

Preview Lab → · Contrast checker → · Palette generator →

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