#D8D949#D8D949

#D8D949 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.9% C 0.161 H 109.7°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#D8D949
RGBrgb(216, 217, 73)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 66%, 85%)
CMYKcmyk(0.5%, 0%, 66.4%, 14.9%)
CIE-LABlab(84.33, -17.49, 67.60)
CIE-LCHlch(84.33, 69.83, 104.51°)
OKLaboklab(85.89% -0.0544 0.1516)
OKLCHoklch(85.89% 0.161 109.7)
XYZxyz(54.3362, 64.7072, 15.9295)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D949 #4A49D9
analogous
#D99249 #D8D949 #90D949
triadic
#D8D949 #49D8D9 #D949D8
tetradic
#D8D949 #49D992 #4A49D9 #D94990
square
#D8D949 #49D992 #4A49D9 #D94990
split-complementary
#D8D949 #4990D9 #9249D9
monochromatic
#8A8B1D #BCBD28 #D8D949 #E3E47C #EEEEAE

Accessibility & contrast

On white

1.51
#D8D949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#D8D949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D949
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D949#FFFFFF#000000##000000
##D8D9491.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD034
Deuteranopia (green-blind)
#EBD553
Tritanopia (blue-blind)
#E7CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d949;
/* rgb */ color: rgb(216, 217, 73);
/* oklch */ color: oklch(85.9% 0.161 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e484',
    500: '#d8d949',
    950: '#000000',
  },
}
SCSS
$custom: #d8d949;
$custom-light: #e7e484;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d949",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 60.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85892,
    "c": 0.16106,
    "h": 109.7
  },
  "luminance": 0.64706
}

Semantic roles & 50–950 ramp

primary
#D8D949
secondary
#363691
accent
#3FE841
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D949

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

Preview Lab → · Contrast checker → · Palette generator →

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