#D4BB40#D4BB40

#D4BB40 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.141 H 97.5°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D4BB40
RGBrgb(212, 187, 64)
HSLhsl(50, 63%, 54%)
HSVhsv(50, 70%, 83%)
CMYKcmyk(0%, 11.8%, 69.8%, 16.9%)
CIE-LABlab(76.01, -4.48, 62.57)
CIE-LCHlch(76.01, 62.73, 94.09°)
OKLaboklab(79.17% -0.0183 0.1396)
OKLCHoklch(79.17% 0.141 97.5)
XYZxyz(45.8493, 49.9102, 12.0681)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB40 #4059D4
analogous
#D47140 #D4BB40 #A3D440
triadic
#D4BB40 #40D4BB #BB40D4
tetradic
#D4BB40 #40D471 #4059D4 #D440A3
square
#D4BB40 #40D471 #4059D4 #D440A3
split-complementary
#D4BB40 #40A3D4 #7140D4
monochromatic
#7D6D1C #AF9827 #D4BB40 #DFCD72 #EADFA4

Accessibility & contrast

On white

1.91
#D4BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D4BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB40
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB40#FFFFFF#000000##000000
##D4BB401.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#E4ADA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4bb40;
/* rgb */ color: rgb(212, 187, 64);
/* oklch */ color: oklch(79.2% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#e5cf7c',
    500: '#d4bb40',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb40;
$custom-light: #e5cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb40",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 49.865,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79173,
    "c": 0.14081,
    "h": 97.5
  },
  "luminance": 0.49908
}

Semantic roles & 50–950 ramp

primary
#D4BB40
secondary
#98A3D7
accent
#5DE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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