#D4BB52#D4BB52

#D4BB52 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.127 H 95.9°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D4BB52
RGBrgb(212, 187, 82)
HSLhsl(48, 60%, 58%)
HSVhsv(48, 61%, 83%)
CMYKcmyk(0%, 11.8%, 61.3%, 16.9%)
CIE-LABlab(76.16, -3.41, 55.11)
CIE-LCHlch(76.16, 55.22, 93.54°)
OKLaboklab(79.34% -0.0132 0.1266)
OKLCHoklch(79.34% 0.127 95.9)
XYZxyz(46.4467, 50.1491, 15.2142)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB52 #526BD4
analogous
#D47A52 #D4BB52 #ACD452
triadic
#D4BB52 #52D4BB #BB52D4
tetradic
#D4BB52 #52D47A #526BD4 #D452AC
square
#D4BB52 #52D47A #526BD4 #D452AC
split-complementary
#D4BB52 #52ACD4 #7A52D4
monochromatic
#897622 #BAA02E #D4BB52 #E0CE83 #ECE2B4

Accessibility & contrast

On white

1.90
#D4BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#D4BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB52
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB52#FFFFFF#000000##000000
##D4BB521.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#E4AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bb52;
/* rgb */ color: rgb(212, 187, 82);
/* oklch */ color: oklch(79.3% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#e4cf87',
    500: '#d4bb52',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb52;
$custom-light: #e4cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb52",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 48.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.12729,
    "h": 95.9
  },
  "luminance": 0.50147
}

Semantic roles & 50–950 ramp

primary
#D4BB52
secondary
#3B4B90
accent
#63E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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