#D8CC44#D8CC44

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

Color values

HEX#D8CC44
RGBrgb(216, 204, 68)
HSLhsl(55, 65%, 56%)
HSVhsv(55, 69%, 85%)
CMYKcmyk(0%, 5.6%, 68.5%, 15.3%)
CIE-LABlab(80.85, -11.28, 66.00)
CIE-LCHlch(80.85, 66.95, 99.70°)
OKLaboklab(83.11% -0.0374 0.1474)
OKLCHoklch(83.11% 0.152 104.2)
XYZxyz(50.9572, 58.2040, 14.0180)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC44 #4450D8
analogous
#D88244 #D8CC44 #9AD844
triadic
#D8CC44 #44D8CC #CC44D8
tetradic
#D8CC44 #44D882 #4450D8 #D8449A
square
#D8CC44 #44D882 #4450D8 #D8449A
split-complementary
#D8CC44 #449AD8 #8244D8
monochromatic
#867D1C #B8AD26 #D8CC44 #E3DA77 #EDE8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CC44#FFFFFF#000000##000000
##D8CC441.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)
#DEC530
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#E8BEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc44;
/* rgb */ color: rgb(216, 204, 68);
/* oklch */ color: oklch(83.1% 0.152 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8db80',
    500: '#d8cc44',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc44;
$custom-light: #e8db80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc44",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 68
  },
  "hsl": {
    "h": 55.135,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83106,
    "c": 0.15206,
    "h": 104.2
  },
  "luminance": 0.58202
}

Semantic roles & 50–950 ramp

primary
#D8CC44
secondary
#343B8C
accent
#4DE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CC44

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

Preview Lab → · Contrast checker → · Palette generator →

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