#D8D74E#D8D74E

#D8D74E is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.156 H 108.9°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D8D74E
RGBrgb(216, 215, 78)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0.5%, 63.9%, 15.3%)
CIE-LABlab(83.84, -16.22, 65.14)
CIE-LCHlch(83.84, 67.13, 103.98°)
OKLaboklab(85.51% -0.0503 0.1472)
OKLCHoklch(85.51% 0.156 108.9)
XYZxyz(53.9963, 63.7514, 16.6672)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D74E #4E4FD8
analogous
#D8924E #D8D74E #94D84E
triadic
#D8D74E #4ED8D7 #D74ED8
tetradic
#D8D74E #4ED892 #4E4FD8 #D84E94
square
#D8D74E #4ED892 #4E4FD8 #D84E94
split-complementary
#D8D74E #4E94D8 #924ED8
monochromatic
#8D8C1F #BFBE2A #D8D74E #E3E280 #EEEEB2

Accessibility & contrast

On white

1.53
#D8D74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D8D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D74E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D74E#FFFFFF#000000##000000
##D8D74E1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE3C
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#E7CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d74e;
/* rgb */ color: rgb(216, 215, 78);
/* oklch */ color: oklch(85.5% 0.156 108.9);
Tailwind
colors: {
  custom: {
    50: '#e7e386',
    500: '#d8d74e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d74e;
$custom-light: #e7e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d74e",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 59.565,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85507,
    "c": 0.15555,
    "h": 108.9
  },
  "luminance": 0.6375
}

Semantic roles & 50–950 ramp

primary
#D8D74E
secondary
#383992
accent
#42E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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