#D4CB52#D4CB52

#D4CB52 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.141 H 105.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D4CB52
RGBrgb(212, 203, 82)
HSLhsl(56, 60%, 58%)
HSVhsv(56, 61%, 83%)
CMYKcmyk(0%, 4.2%, 61.3%, 16.9%)
CIE-LABlab(80.36, -11.63, 59.70)
CIE-LCHlch(80.36, 60.83, 101.02°)
OKLaboklab(82.67% -0.0367 0.1364)
OKLCHoklch(82.67% 0.141 105.1)
XYZxyz(50.0321, 57.3199, 16.4094)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB52 #525BD4
analogous
#D48A52 #D4CB52 #9CD452
triadic
#D4CB52 #52D4CB #CB52D4
tetradic
#D4CB52 #52D48A #525BD4 #D4529C
square
#D4CB52 #52D48A #525BD4 #D4529C
split-complementary
#D4CB52 #529CD4 #8A52D4
monochromatic
#898222 #BAB12E #D4CB52 #E0DA83 #ECE8B4

Accessibility & contrast

On white

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

On black

12.46
#D4CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB52
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB52#FFFFFF#000000##000000
##D4CB521.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#E3BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb52;
/* rgb */ color: rgb(212, 203, 82);
/* oklch */ color: oklch(82.7% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#e4da88',
    500: '#d4cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb52;
$custom-light: #e4da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb52",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 55.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82668,
    "c": 0.1412,
    "h": 105.1
  },
  "luminance": 0.57318
}

Semantic roles & 50–950 ramp

primary
#D4CB52
secondary
#3B4090
accent
#4FE344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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