#D8D04E#D8D04E

#D8D04E is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.149 H 105.8°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D8D04E
RGBrgb(216, 208, 78)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 64%, 85%)
CMYKcmyk(0%, 3.7%, 63.9%, 15.3%)
CIE-LABlab(81.98, -12.73, 63.20)
CIE-LCHlch(81.98, 64.47, 101.39°)
OKLaboklab(84.03% -0.0405 0.1431)
OKLCHoklch(84.03% 0.149 105.8)
XYZxyz(52.2518, 60.2625, 16.0857)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D04E #4E56D8
analogous
#D88B4E #D8D04E #9BD84E
triadic
#D8D04E #4ED8D0 #D04ED8
tetradic
#D8D04E #4ED88B #4E56D8 #D84E9B
square
#D8D04E #4ED88B #4E56D8 #D84E9B
split-complementary
#D8D04E #4E9BD8 #8B4ED8
monochromatic
#8D861F #BFB62A #D8D04E #E3DD80 #EEEBB2

Accessibility & contrast

On white

1.61
#D8D04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D8D04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D04E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D04E#FFFFFF#000000##000000
##D8D04E1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93D
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#E7C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d04e;
/* rgb */ color: rgb(216, 208, 78);
/* oklch */ color: oklch(84.0% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#e7de86',
    500: '#d8d04e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d04e;
$custom-light: #e7de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d04e",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 56.522,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84028,
    "c": 0.1487,
    "h": 105.8
  },
  "luminance": 0.60261
}

Semantic roles & 50–950 ramp

primary
#D8D04E
secondary
#383D92
accent
#4BE741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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