#D8C14D#D8C14D

#D8C14D is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.136 H 98.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D8C14D
RGBrgb(216, 193, 77)
HSLhsl(50, 64%, 57%)
HSVhsv(50, 64%, 85%)
CMYKcmyk(0%, 10.6%, 64.4%, 15.3%)
CIE-LABlab(78.04, -5.16, 59.45)
CIE-LCHlch(78.04, 59.67, 94.96°)
OKLaboklab(80.89% -0.019 0.135)
OKLCHoklch(80.89% 0.136 98)
XYZxyz(48.7306, 53.2770, 14.7364)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C14D #4D64D8
analogous
#D87C4D #D8C14D #A9D84D
triadic
#D8C14D #4DD8C1 #C14DD8
tetradic
#D8C14D #4DD87C #4D64D8 #D84DA9
square
#D8C14D #4DD87C #4D64D8 #D84DA9
split-complementary
#D8C14D #4DA9D8 #7C4DD8
monochromatic
#8C7A1F #BEA62A #D8C14D #E3D27F #EEE4B1

Accessibility & contrast

On white

1.80
#D8C14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D8C14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C14D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C14D#FFFFFF#000000##000000
##D8C14D1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3F
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#E8B3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8c14d;
/* rgb */ color: rgb(216, 193, 77);
/* oklch */ color: oklch(80.9% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e7d384',
    500: '#d8c14d',
    950: '#000000',
  },
}
SCSS
$custom: #d8c14d;
$custom-light: #e7d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c14d",
  "rgb": {
    "r": 216,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 50.072,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80894,
    "c": 0.13632,
    "h": 98
  },
  "luminance": 0.53275
}

Semantic roles & 50–950 ramp

primary
#D8C14D
secondary
#374692
accent
#5CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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