#D8D84C#D8D84C

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

Color values

HEX#D8D84C
RGBrgb(216, 216, 76)
HSLhsl(60, 64%, 57%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0%, 0%, 64.8%, 15.3%)
CIE-LABlab(84.09, -16.83, 66.19)
CIE-LCHlch(84.09, 68.30, 104.27°)
OKLaboklab(85.7% -0.0523 0.1491)
OKLCHoklch(85.7% 0.158 109.3)
XYZxyz(54.1811, 64.2340, 16.3804)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D84C #4C4CD8
analogous
#D8924C #D8D84C #92D84C
triadic
#D8D84C #4CD8D8 #D84CD8
tetradic
#D8D84C #4CD892 #4C4CD8 #D84C92
square
#D8D84C #4CD892 #4C4CD8 #D84C92
split-complementary
#D8D84C #4C92D8 #924CD8
monochromatic
#8B8B1E #BEBE29 #D8D84C #E3E37E #EEEEB1

Accessibility & contrast

On white

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

On black

13.85
#D8D84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D84C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D84C#FFFFFF#000000##000000
##D8D84C1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF39
Deuteranopia (green-blind)
#EAD455
Tritanopia (blue-blind)
#E7CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d84c;
/* rgb */ color: rgb(216, 216, 76);
/* oklch */ color: oklch(85.7% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e385',
    500: '#d8d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d8d84c;
$custom-light: #e7e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d84c",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85703,
    "c": 0.15798,
    "h": 109.3
  },
  "luminance": 0.64232
}

Semantic roles & 50–950 ramp

primary
#D8D84C
secondary
#373791
accent
#41E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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