#D8CB62#D8CB62

#D8CB62 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.127 H 102.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D8CB62
RGBrgb(216, 203, 98)
HSLhsl(53, 60%, 62%)
HSVhsv(53, 55%, 85%)
CMYKcmyk(0%, 6%, 54.6%, 15.3%)
CIE-LABlab(80.85, -8.82, 53.19)
CIE-LCHlch(80.85, 53.91, 99.41°)
OKLaboklab(83.19% -0.0271 0.1243)
OKLCHoklch(83.19% 0.127 102.3)
XYZxyz(51.8811, 58.1945, 20.0527)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB62 #626FD8
analogous
#D89062 #D8CB62 #AAD862
triadic
#D8CB62 #62D8CB #CB62D8
tetradic
#D8CB62 #62D890 #626FD8 #D862AA
square
#D8CB62 #62D890 #626FD8 #D862AA
split-complementary
#D8CB62 #62AAD8 #9062D8
monochromatic
#998D26 #CABA32 #D8CB62 #E4DB93 #F0EBC4

Accessibility & contrast

On white

1.66
#D8CB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D8CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB62
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB62#FFFFFF#000000##000000
##D8CB621.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#E6BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cb62;
/* rgb */ color: rgb(216, 203, 98);
/* oklch */ color: oklch(83.2% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#e6da92',
    500: '#d8cb62',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb62;
$custom-light: #e6da92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb62",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 53.39,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83185,
    "c": 0.12722,
    "h": 102.3
  },
  "luminance": 0.58193
}

Semantic roles & 50–950 ramp

primary
#D8CB62
secondary
#404B9E
accent
#30C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CB62

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

Preview Lab → · Contrast checker → · Palette generator →

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