#D8CD62#D8CD62

#D8CD62 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.129 H 103.4°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D8CD62
RGBrgb(216, 205, 98)
HSLhsl(54, 60%, 62%)
HSVhsv(54, 55%, 85%)
CMYKcmyk(0%, 5.1%, 54.6%, 15.3%)
CIE-LABlab(81.37, -9.83, 53.79)
CIE-LCHlch(81.37, 54.68, 100.36°)
OKLaboklab(83.6% -0.03 0.1256)
OKLCHoklch(83.6% 0.129 103.4)
XYZxyz(52.3565, 59.1452, 20.2111)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD62 #626DD8
analogous
#D89262 #D8CD62 #A8D862
triadic
#D8CD62 #62D8CD #CD62D8
tetradic
#D8CD62 #62D892 #626DD8 #D862A8
square
#D8CD62 #62D892 #626DD8 #D862A8
split-complementary
#D8CD62 #62A8D8 #9262D8
monochromatic
#998F26 #CABC32 #D8CD62 #E4DD93 #F0ECC4

Accessibility & contrast

On white

1.64
#D8CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D8CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD62
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD62#FFFFFF#000000##000000
##D8CD621.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC758
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#E6C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd62;
/* rgb */ color: rgb(216, 205, 98);
/* oklch */ color: oklch(83.6% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6dc92',
    500: '#d8cd62',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd62;
$custom-light: #e6dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd62",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 54.407,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83601,
    "c": 0.12915,
    "h": 103.4
  },
  "luminance": 0.59143
}

Semantic roles & 50–950 ramp

primary
#D8CD62
secondary
#40499E
accent
#2DC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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