#D8CB64#D8CB64

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

Color values

HEX#D8CB64
RGBrgb(216, 203, 100)
HSLhsl(53, 60%, 62%)
HSVhsv(53, 54%, 85%)
CMYKcmyk(0%, 6%, 53.7%, 15.3%)
CIE-LABlab(80.87, -8.66, 52.28)
CIE-LCHlch(80.87, 52.99, 99.40°)
OKLaboklab(83.21% -0.0264 0.1226)
OKLCHoklch(83.21% 0.125 102.2)
XYZxyz(51.9767, 58.2327, 20.5563)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB64 #6471D8
analogous
#D89164 #D8CB64 #ABD864
triadic
#D8CB64 #64D8CB #CB64D8
tetradic
#D8CB64 #64D891 #6471D8 #D864AB
square
#D8CB64 #64D891 #6471D8 #D864AB
split-complementary
#D8CB64 #64ABD8 #9164D8
monochromatic
#9B8E27 #CCBB33 #D8CB64 #E4DB95 #F1ECC6

Accessibility & contrast

On white

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

On black

12.65
#D8CB64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB64
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB64#FFFFFF#000000##000000
##D8CB641.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC55A
Deuteranopia (green-blind)
#DFCB69
Tritanopia (blue-blind)
#E6BFB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cb64;
/* rgb */ color: rgb(216, 203, 100);
/* oklch */ color: oklch(83.2% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6da93',
    500: '#d8cb64',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb64;
$custom-light: #e6da93;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb64",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 100
  },
  "hsl": {
    "h": 53.276,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83209,
    "c": 0.12537,
    "h": 102.2
  },
  "luminance": 0.58231
}

Semantic roles & 50–950 ramp

primary
#D8CB64
secondary
#414C9F
accent
#31C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CB64

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

Preview Lab → · Contrast checker → · Palette generator →

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