#D4CC4B#D4CC4B

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

Color values

HEX#D4CC4B
RGBrgb(212, 204, 75)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 65%, 83%)
CMYKcmyk(0%, 3.8%, 64.6%, 16.9%)
CIE-LABlab(80.57, -12.57, 62.84)
CIE-LCHlch(80.57, 64.09, 101.31°)
OKLaboklab(82.82% -0.0401 0.142)
OKLCHoklch(82.82% 0.148 105.8)
XYZxyz(50.0161, 57.6925, 15.1564)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC4B #4B53D4
analogous
#D4884B #D4CC4B #98D44B
triadic
#D4CC4B #4BD4CC #CC4BD4
tetradic
#D4CC4B #4BD488 #4B53D4 #D44B98
square
#D4CC4B #4BD488 #4B53D4 #D44B98
split-complementary
#D4CC4B #4B98D4 #884BD4
monochromatic
#857F20 #B6AE2C #D4CC4B #E0DA7C #ECE8AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CC4B#FFFFFF#000000##000000
##D4CC4B1.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)
#DDC53A
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#E3BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc4b;
/* rgb */ color: rgb(212, 204, 75);
/* oklch */ color: oklch(82.8% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e4db84',
    500: '#d4cc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc4b;
$custom-light: #e4db84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc4b",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 56.496,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82815,
    "c": 0.14753,
    "h": 105.8
  },
  "luminance": 0.57691
}

Semantic roles & 50–950 ramp

primary
#D4CC4B
secondary
#383D8C
accent
#4DE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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