#D8D849#D8D849

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

Color values

HEX#D8D849
RGBrgb(216, 216, 73)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 66%, 85%)
CMYKcmyk(0%, 0%, 66.2%, 15.3%)
CIE-LABlab(84.07, -17.00, 67.33)
CIE-LCHlch(84.07, 69.45, 104.17°)
OKLaboklab(85.68% -0.053 0.151)
OKLCHoklch(85.68% 0.16 109.4)
XYZxyz(54.0792, 64.1933, 15.8439)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D849 #4949D8
analogous
#D89149 #D8D849 #91D849
triadic
#D8D849 #49D8D8 #D849D8
tetradic
#D8D849 #49D891 #4949D8 #D84991
square
#D8D849 #49D891 #4949D8 #D84991
split-complementary
#D8D849 #4991D8 #9149D8
monochromatic
#89891D #BCBC28 #D8D849 #E3E37B #EEEEAE

Accessibility & contrast

On white

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

On black

13.84
#D8D849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D849
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D849#FFFFFF#000000##000000
##D8D8491.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d849;
/* rgb */ color: rgb(216, 216, 73);
/* oklch */ color: oklch(85.7% 0.160 109.4);
Tailwind
colors: {
  custom: {
    50: '#e7e383',
    500: '#d8d849',
    950: '#000000',
  },
}
SCSS
$custom: #d8d849;
$custom-light: #e7e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d849",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85679,
    "c": 0.16006,
    "h": 109.4
  },
  "luminance": 0.64192
}

Semantic roles & 50–950 ramp

primary
#D8D849
secondary
#36368F
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D849

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

Preview Lab → · Contrast checker → · Palette generator →

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