#D4CC5A#D4CC5A

#D4CC5A is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.136 H 105.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D4CC5A
RGBrgb(212, 204, 90)
HSLhsl(56, 59%, 59%)
HSVhsv(56, 58%, 83%)
CMYKcmyk(0%, 3.8%, 57.5%, 16.9%)
CIE-LABlab(80.70, -11.58, 56.57)
CIE-LCHlch(80.70, 57.75, 101.57°)
OKLaboklab(82.96% -0.0356 0.1307)
OKLCHoklch(82.96% 0.136 105.3)
XYZxyz(50.5913, 57.9226, 18.1861)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC5A #5A62D4
analogous
#D48F5A #D4CC5A #9FD45A
triadic
#D4CC5A #5AD4CC #CC5AD4
tetradic
#D4CC5A #5AD48F #5A62D4 #D45A9F
square
#D4CC5A #5AD48F #5A62D4 #D45A9F
split-complementary
#D4CC5A #5A9FD4 #8F5AD4
monochromatic
#8E8825 #BFB632 #D4CC5A #E1DB8B #EDEABB

Accessibility & contrast

On white

1.67
#D4CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D4CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC5A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC5A#FFFFFF#000000##000000
##D4CC5A1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#E2C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc5a;
/* rgb */ color: rgb(212, 204, 90);
/* oklch */ color: oklch(83.0% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4db8d',
    500: '#d4cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc5a;
$custom-light: #e4db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc5a",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 56.066,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82959,
    "c": 0.13551,
    "h": 105.3
  },
  "luminance": 0.57921
}

Semantic roles & 50–950 ramp

primary
#D4CC5A
secondary
#3E4494
accent
#50E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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