#D4CC4D#D4CC4D

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

Color values

HEX#D4CC4D
RGBrgb(212, 204, 77)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 3.8%, 63.7%, 16.9%)
CIE-LABlab(80.58, -12.45, 62.04)
CIE-LCHlch(80.58, 63.28, 101.35°)
OKLaboklab(82.83% -0.0395 0.1406)
OKLCHoklch(82.83% 0.146 105.7)
XYZxyz(50.0856, 57.7203, 15.5226)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC4D #4D55D4
analogous
#D4884D #D4CC4D #99D44D
triadic
#D4CC4D #4DD4CC #CC4DD4
tetradic
#D4CC4D #4DD488 #4D55D4 #D44D99
square
#D4CC4D #4DD488 #4D55D4 #D44D99
split-complementary
#D4CC4D #4D99D4 #884DD4
monochromatic
#868020 #B7AF2C #D4CC4D #E0DA7E #ECE8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CC4D#FFFFFF#000000##000000
##D4CC4D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#E3BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc4d;
/* rgb */ color: rgb(212, 204, 77);
/* oklch */ color: oklch(82.8% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4db85',
    500: '#d4cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc4d;
$custom-light: #e4db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc4d",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 56.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82833,
    "c": 0.14604,
    "h": 105.7
  },
  "luminance": 0.57719
}

Semantic roles & 50–950 ramp

primary
#D4CC4D
secondary
#383D8D
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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