#D8DC4E#D8DC4E

#D8DC4E is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.6% C 0.161 H 110.9°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#D8DC4E
RGBrgb(216, 220, 78)
HSLhsl(62, 67%, 58%)
HSVhsv(62, 65%, 86%)
CMYKcmyk(1.8%, 0%, 64.5%, 13.7%)
CIE-LABlab(85.17, -18.68, 66.53)
CIE-LCHlch(85.17, 69.10, 105.69°)
OKLaboklab(86.57% -0.0573 0.1501)
OKLCHoklch(86.57% 0.161 110.9)
XYZxyz(55.2889, 66.3368, 17.0981)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC4E #524EDC
analogous
#DC994E #D8DC4E #91DC4E
triadic
#D8DC4E #4ED8DC #DC4ED8
tetradic
#D8DC4E #4EDC99 #524EDC #DC4E91
square
#D8DC4E #4EDC99 #524EDC #DC4E91
split-complementary
#D8DC4E #4E91DC #994EDC
monochromatic
#8F931D #C1C627 #D8DC4E #E3E681 #EFF0B4

Accessibility & contrast

On white

1.47
#D8DC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#D8DC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC4E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC4E#FFFFFF#000000##000000
##D8DC4E1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33B
Deuteranopia (green-blind)
#EDD757
Tritanopia (blue-blind)
#E6CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc4e;
/* rgb */ color: rgb(216, 220, 78);
/* oklch */ color: oklch(86.6% 0.161 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e687',
    500: '#d8dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc4e;
$custom-light: #e7e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc4e",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 61.69,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8657,
    "c": 0.16065,
    "h": 110.9
  },
  "luminance": 0.66335
}

Semantic roles & 50–950 ramp

primary
#D8DC4E
secondary
#393797
accent
#3EEA43
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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