#D4BB5F#D4BB5F

#D4BB5F is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.116 H 94.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D4BB5F
RGBrgb(212, 187, 95)
HSLhsl(47, 58%, 60%)
HSVhsv(47, 55%, 83%)
CMYKcmyk(0%, 11.8%, 55.2%, 16.9%)
CIE-LABlab(76.29, -2.46, 49.22)
CIE-LCHlch(76.29, 49.28, 92.86°)
OKLaboklab(79.48% -0.0089 0.1155)
OKLCHoklch(79.48% 0.116 94.4)
XYZxyz(46.9891, 50.3661, 18.0708)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB5F #5F78D4
analogous
#D4805F #D4BB5F #B3D45F
triadic
#D4BB5F #5FD4BB #BB5FD4
tetradic
#D4BB5F #5FD480 #5F78D4 #D45FB3
square
#D4BB5F #5FD480 #5F78D4 #D45FB3
split-complementary
#D4BB5F #5FB3D4 #805FD4
monochromatic
#917B27 #C2A334 #D4BB5F #E1CF8F #EEE4BF

Accessibility & contrast

On white

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

On black

11.07
#D4BB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB5F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB5F#FFFFFF#000000##000000
##D4BB5F1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB856
Deuteranopia (green-blind)
#D2BF63
Tritanopia (blue-blind)
#E3AFA6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bb5f;
/* rgb */ color: rgb(212, 187, 95);
/* oklch */ color: oklch(79.5% 0.116 94.4);
Tailwind
colors: {
  custom: {
    50: '#e4cf8f',
    500: '#d4bb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb5f;
$custom-light: #e4cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb5f",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 47.179,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79484,
    "c": 0.11581,
    "h": 94.4
  },
  "luminance": 0.50364
}

Semantic roles & 50–950 ramp

primary
#D4BB5F
secondary
#405397
accent
#44C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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