#D1CC54#D1CC54

#D1CC54 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.141 H 106.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D1CC54
RGBrgb(209, 204, 84)
HSLhsl(58, 58%, 57%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 2.4%, 59.8%, 18%)
CIE-LABlab(80.39, -13.24, 58.81)
CIE-LCHlch(80.39, 60.28, 102.69°)
OKLaboklab(82.64% -0.0409 0.1348)
OKLCHoklch(82.64% 0.141 106.9)
XYZxyz(49.4892, 57.3827, 16.8548)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC54 #5459D1
analogous
#D18E54 #D1CC54 #98D154
triadic
#D1CC54 #54D1CC #CC54D1
tetradic
#D1CC54 #54D18E #5459D1 #D15498
square
#D1CC54 #54D18E #5459D1 #D15498
split-complementary
#D1CC54 #5498D1 #8E54D1
monochromatic
#868324 #B7B131 #D1CC54 #DEDA84 #EBE9B4

Accessibility & contrast

On white

1.68
#D1CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D1CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC54
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC54#FFFFFF#000000##000000
##D1CC541.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#DECA5B
Tritanopia (blue-blind)
#DFC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc54;
/* rgb */ color: rgb(209, 204, 84);
/* oklch */ color: oklch(82.6% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#e2db89',
    500: '#d1cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc54;
$custom-light: #e2db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc54",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 57.6,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82641,
    "c": 0.14087,
    "h": 106.9
  },
  "luminance": 0.57381
}

Semantic roles & 50–950 ramp

primary
#D1CC54
secondary
#3C3F8D
accent
#4DE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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