#D4BD5F#D4BD5F

#D4BD5F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.117 H 95.8°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D4BD5F
RGBrgb(212, 189, 95)
HSLhsl(48, 58%, 60%)
HSVhsv(48, 55%, 83%)
CMYKcmyk(0%, 10.8%, 55.2%, 16.9%)
CIE-LABlab(76.81, -3.50, 49.82)
CIE-LCHlch(76.81, 49.95, 94.02°)
OKLaboklab(79.9% -0.0119 0.1168)
OKLCHoklch(79.9% 0.117 95.8)
XYZxyz(47.4163, 51.2205, 18.2132)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD5F #5F76D4
analogous
#D4825F #D4BD5F #B0D45F
triadic
#D4BD5F #5FD4BD #BD5FD4
tetradic
#D4BD5F #5FD482 #5F76D4 #D45FB0
square
#D4BD5F #5FD482 #5F76D4 #D45FB0
split-complementary
#D4BD5F #5FB0D4 #825FD4
monochromatic
#917D27 #C2A634 #D4BD5F #E1D18F #EEE5BF

Accessibility & contrast

On white

1.87
#D4BD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#D4BD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD5F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD5F#FFFFFF#000000##000000
##D4BD5F1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#E3B1A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bd5f;
/* rgb */ color: rgb(212, 189, 95);
/* oklch */ color: oklch(79.9% 0.117 95.8);
Tailwind
colors: {
  custom: {
    50: '#e4d08f',
    500: '#d4bd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd5f;
$custom-light: #e4d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd5f",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 48.205,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79895,
    "c": 0.1174,
    "h": 95.8
  },
  "luminance": 0.51218
}

Semantic roles & 50–950 ramp

primary
#D4BD5F
secondary
#405197
accent
#41C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4BD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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