#D8CC63#D8CC63

#D8CC63 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.127 H 102.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D8CC63
RGBrgb(216, 204, 99)
HSLhsl(54, 60%, 62%)
HSVhsv(54, 54%, 85%)
CMYKcmyk(0%, 5.6%, 54.2%, 15.3%)
CIE-LABlab(81.12, -9.25, 53.04)
CIE-LCHlch(81.12, 53.84, 99.89°)
OKLaboklab(83.41% -0.0282 0.1241)
OKLCHoklch(83.41% 0.127 102.8)
XYZxyz(52.1655, 58.6873, 20.3819)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC63 #636FD8
analogous
#D89263 #D8CC63 #AAD863
triadic
#D8CC63 #63D8CC #CC63D8
tetradic
#D8CC63 #63D892 #636FD8 #D863AA
square
#D8CC63 #63D892 #636FD8 #D863AA
split-complementary
#D8CC63 #63AAD8 #9263D8
monochromatic
#9A8E27 #CBBB33 #D8CC63 #E4DC94 #F0ECC5

Accessibility & contrast

On white

1.65
#D8CC63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D8CC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC63
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC63#FFFFFF#000000##000000
##D8CC631.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC659
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#E6C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc63;
/* rgb */ color: rgb(216, 204, 99);
/* oklch */ color: oklch(83.4% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6db92',
    500: '#d8cc63',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc63;
$custom-light: #e6db92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc63",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 99
  },
  "hsl": {
    "h": 53.846,
    "s": 60,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83405,
    "c": 0.12726,
    "h": 102.8
  },
  "luminance": 0.58686
}

Semantic roles & 50–950 ramp

primary
#D8CC63
secondary
#414A9E
accent
#2FC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CC63

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

Preview Lab → · Contrast checker → · Palette generator →

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