#D3CC54#D3CC54

#D3CC54 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.141 H 105.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D3CC54
RGBrgb(211, 204, 84)
HSLhsl(57, 59%, 58%)
HSVhsv(57, 60%, 83%)
CMYKcmyk(0%, 3.3%, 60.2%, 17.3%)
CIE-LABlab(80.56, -12.42, 59.04)
CIE-LCHlch(80.56, 60.33, 101.88°)
OKLaboklab(82.81% -0.0386 0.1352)
OKLCHoklch(82.81% 0.141 105.9)
XYZxyz(50.0587, 57.6763, 16.8815)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC54 #545BD3
analogous
#D38C54 #D3CC54 #9AD354
triadic
#D3CC54 #54D3CC #CC54D3
tetradic
#D3CC54 #54D38C #545BD3 #D3549A
square
#D3CC54 #54D38C #545BD3 #D3549A
split-complementary
#D3CC54 #549AD3 #8C54D3
monochromatic
#898423 #BAB230 #D3CC54 #E0DB85 #ECE9B5

Accessibility & contrast

On white

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

On black

12.54
#D3CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC54
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC54#FFFFFF#000000##000000
##D3CC541.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#E1C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc54;
/* rgb */ color: rgb(211, 204, 84);
/* oklch */ color: oklch(82.8% 0.141 105.9);
Tailwind
colors: {
  custom: {
    50: '#e3db89',
    500: '#d3cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc54;
$custom-light: #e3db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc54",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 56.693,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82812,
    "c": 0.14065,
    "h": 105.9
  },
  "luminance": 0.57675
}

Semantic roles & 50–950 ramp

primary
#D3CC54
secondary
#3C4090
accent
#4EE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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