#D4BB54#D4BB54

#D4BB54 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.126 H 95.7°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D4BB54
RGBrgb(212, 187, 84)
HSLhsl(48, 60%, 58%)
HSVhsv(48, 60%, 83%)
CMYKcmyk(0%, 11.8%, 60.4%, 16.9%)
CIE-LABlab(76.18, -3.28, 54.23)
CIE-LCHlch(76.18, 54.33, 93.46°)
OKLaboklab(79.36% -0.0126 0.125)
OKLCHoklch(79.36% 0.126 95.7)
XYZxyz(46.5239, 50.1800, 15.6209)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB54 #546DD4
analogous
#D47B54 #D4BB54 #ADD454
triadic
#D4BB54 #54D4BB #BB54D4
tetradic
#D4BB54 #54D47B #546DD4 #D454AD
square
#D4BB54 #54D47B #546DD4 #D454AD
split-complementary
#D4BB54 #54ADD4 #7B54D4
monochromatic
#8B7623 #BCA02F #D4BB54 #E0CE85 #EDE2B6

Accessibility & contrast

On white

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

On black

11.04
#D4BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB54
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB54#FFFFFF#000000##000000
##D4BB541.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bb54;
/* rgb */ color: rgb(212, 187, 84);
/* oklch */ color: oklch(79.4% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#e4cf88',
    500: '#d4bb54',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb54;
$custom-light: #e4cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb54",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 48.281,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79358,
    "c": 0.12561,
    "h": 95.7
  },
  "luminance": 0.50178
}

Semantic roles & 50–950 ramp

primary
#D4BB54
secondary
#3B4C91
accent
#64E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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