#D4BB42#D4BB42

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

Color values

HEX#D4BB42
RGBrgb(212, 187, 66)
HSLhsl(50, 63%, 55%)
HSVhsv(50, 69%, 83%)
CMYKcmyk(0%, 11.8%, 68.9%, 16.9%)
CIE-LABlab(76.03, -4.37, 61.80)
CIE-LCHlch(76.03, 61.95, 94.05°)
OKLaboklab(79.19% -0.0178 0.1383)
OKLCHoklch(79.19% 0.139 97.3)
XYZxyz(45.9073, 49.9333, 12.3732)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB42 #425BD4
analogous
#D47242 #D4BB42 #A4D442
triadic
#D4BB42 #42D4BB #BB42D4
tetradic
#D4BB42 #42D472 #425BD4 #D442A4
square
#D4BB42 #42D472 #425BD4 #D442A4
split-complementary
#D4BB42 #42A4D4 #7242D4
monochromatic
#7F6E1D #B19928 #D4BB42 #DFCD74 #EBDFA6

Accessibility & contrast

On white

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

On black

10.99
#D4BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB42
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB42#FFFFFF#000000##000000
##D4BB421.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bb42;
/* rgb */ color: rgb(212, 187, 66);
/* oklch */ color: oklch(79.2% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#e5cf7d',
    500: '#d4bb42',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb42;
$custom-light: #e5cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb42",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 49.726,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79189,
    "c": 0.13945,
    "h": 97.3
  },
  "luminance": 0.49931
}

Semantic roles & 50–950 ramp

primary
#D4BB42
secondary
#9AA5D8
accent
#5EE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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