#D4CC5D#D4CC5D

#D4CC5D is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.133 H 105.1°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D4CC5D
RGBrgb(212, 204, 93)
HSLhsl(56, 58%, 60%)
HSVhsv(56, 56%, 83%)
CMYKcmyk(0%, 3.8%, 56.1%, 16.9%)
CIE-LABlab(80.72, -11.36, 55.26)
CIE-LCHlch(80.72, 56.41, 101.61°)
OKLaboklab(82.99% -0.0347 0.1283)
OKLCHoklch(82.99% 0.133 105.1)
XYZxyz(50.7216, 57.9747, 18.8722)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC5D #5D65D4
analogous
#D4905D #D4CC5D #A1D45D
triadic
#D4CC5D #5DD4CC #CC5DD4
tetradic
#D4CC5D #5DD490 #5D65D4 #D45DA1
square
#D4CC5D #5DD490 #5D65D4 #D45DA1
split-complementary
#D4CC5D #5DA1D4 #905DD4
monochromatic
#908926 #C1B733 #D4CC5D #E1DB8D #EEEABE

Accessibility & contrast

On white

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

On black

12.59
#D4CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC5D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC5D#FFFFFF#000000##000000
##D4CC5D1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC552
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#E2C0B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc5d;
/* rgb */ color: rgb(212, 204, 93);
/* oklch */ color: oklch(83.0% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#e4db8e',
    500: '#d4cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc5d;
$custom-light: #e4db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc5d",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 55.966,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82991,
    "c": 0.13289,
    "h": 105.1
  },
  "luminance": 0.57973
}

Semantic roles & 50–950 ramp

primary
#D4CC5D
secondary
#3F4596
accent
#51E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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