#D8CC4D#D8CC4D

#D8CC4D is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.146 H 103.9°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D8CC4D
RGBrgb(216, 204, 77)
HSLhsl(55, 64%, 57%)
HSVhsv(55, 64%, 85%)
CMYKcmyk(0%, 5.6%, 64.4%, 15.3%)
CIE-LABlab(80.92, -10.78, 62.50)
CIE-LCHlch(80.92, 63.42, 99.78°)
OKLaboklab(83.18% -0.035 0.1414)
OKLCHoklch(83.18% 0.146 103.9)
XYZxyz(51.2533, 58.3224, 15.5773)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC4D #4D59D8
analogous
#D8864D #D8CC4D #9FD84D
triadic
#D8CC4D #4DD8CC #CC4DD8
tetradic
#D8CC4D #4DD886 #4D59D8 #D84D9F
square
#D8CC4D #4DD886 #4D59D8 #D84D9F
split-complementary
#D8CC4D #4D9FD8 #864DD8
monochromatic
#8C831F #BEB12A #D8CC4D #E3DA7F #EEE9B1

Accessibility & contrast

On white

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

On black

12.66
#D8CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC4D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC4D#FFFFFF#000000##000000
##D8CC4D1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#E7BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc4d;
/* rgb */ color: rgb(216, 204, 77);
/* oklch */ color: oklch(83.2% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7db85',
    500: '#d8cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc4d;
$custom-light: #e7db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc4d",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 54.82,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8318,
    "c": 0.14571,
    "h": 103.9
  },
  "luminance": 0.5832
}

Semantic roles & 50–950 ramp

primary
#D8CC4D
secondary
#373F92
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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