#D9CC54#D9CC54

#D9CC54 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.140 H 103.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D9CC54
RGBrgb(217, 204, 84)
HSLhsl(54, 64%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6%, 61.3%, 14.9%)
CIE-LABlab(81.06, -9.92, 59.73)
CIE-LCHlch(81.06, 60.55, 99.43°)
OKLaboklab(83.33% -0.0319 0.1366)
OKLCHoklch(83.33% 0.14 103.1)
XYZxyz(51.8103, 58.5795, 16.9636)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC54 #5461D9
analogous
#D98A54 #D9CC54 #A4D954
triadic
#D9CC54 #54D9CC #CC54D9
tetradic
#D9CC54 #54D98A #5461D9 #D954A4
square
#D9CC54 #54D98A #5461D9 #D954A4
split-complementary
#D9CC54 #54A4D9 #8A54D9
monochromatic
#928720 #C4B52C #D9CC54 #E4DB86 #EFEAB8

Accessibility & contrast

On white

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

On black

12.72
#D9CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC54
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC54#FFFFFF#000000##000000
##D9CC541.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#E8BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc54;
/* rgb */ color: rgb(217, 204, 84);
/* oklch */ color: oklch(83.3% 0.140 103.1);
Tailwind
colors: {
  custom: {
    50: '#e8db89',
    500: '#d9cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc54;
$custom-light: #e8db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc54",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 54.135,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83331,
    "c": 0.14023,
    "h": 103.1
  },
  "luminance": 0.58578
}

Semantic roles & 50–950 ramp

primary
#D9CC54
secondary
#3A4397
accent
#51E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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