#D4BB51#D4BB51

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

Color values

HEX#D4BB51
RGBrgb(212, 187, 81)
HSLhsl(49, 60%, 57%)
HSVhsv(49, 62%, 83%)
CMYKcmyk(0%, 11.8%, 61.8%, 16.9%)
CIE-LABlab(76.15, -3.48, 55.55)
CIE-LCHlch(76.15, 55.66, 93.59°)
OKLaboklab(79.33% -0.0135 0.1274)
OKLCHoklch(79.33% 0.128 96)
XYZxyz(46.4089, 50.1340, 15.0153)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB51 #516AD4
analogous
#D47A51 #D4BB51 #ABD451
triadic
#D4BB51 #51D4BB #BB51D4
tetradic
#D4BB51 #51D47A #516AD4 #D451AB
square
#D4BB51 #51D47A #516AD4 #D451AB
split-complementary
#D4BB51 #51ABD4 #7A51D4
monochromatic
#897522 #BA9F2E #D4BB51 #E0CE82 #ECE1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BB51#FFFFFF#000000##000000
##D4BB511.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)
#CCB745
Deuteranopia (green-blind)
#D3BF56
Tritanopia (blue-blind)
#E4AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bb51;
/* rgb */ color: rgb(212, 187, 81);
/* oklch */ color: oklch(79.3% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e4cf86',
    500: '#d4bb51',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb51;
$custom-light: #e4cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb51",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 48.55,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79326,
    "c": 0.12811,
    "h": 96
  },
  "luminance": 0.50132
}

Semantic roles & 50–950 ramp

primary
#D4BB51
secondary
#3A4A8F
accent
#63E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D4BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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