#D4BF5F#D4BF5F

#D4BF5F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.119 H 97.2°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D4BF5F
RGBrgb(212, 191, 95)
HSLhsl(49, 58%, 60%)
HSVhsv(49, 55%, 83%)
CMYKcmyk(0%, 9.9%, 55.2%, 16.9%)
CIE-LABlab(77.33, -4.54, 50.43)
CIE-LCHlch(77.33, 50.63, 95.15°)
OKLaboklab(80.31% -0.0149 0.1181)
OKLCHoklch(80.31% 0.119 97.2)
XYZxyz(47.8495, 52.0869, 18.3576)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF5F #5F74D4
analogous
#D4855F #D4BF5F #AED45F
triadic
#D4BF5F #5FD4BF #BF5FD4
tetradic
#D4BF5F #5FD485 #5F74D4 #D45FAE
square
#D4BF5F #5FD485 #5F74D4 #D45FAE
split-complementary
#D4BF5F #5FAED4 #855FD4
monochromatic
#917E27 #C2A834 #D4BF5F #E1D28F #EEE6BF

Accessibility & contrast

On white

1.84
#D4BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D4BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF5F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF5F#FFFFFF#000000##000000
##D4BF5F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#E3B3A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf5f;
/* rgb */ color: rgb(212, 191, 95);
/* oklch */ color: oklch(80.3% 0.119 97.2);
Tailwind
colors: {
  custom: {
    50: '#e4d28f',
    500: '#d4bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf5f;
$custom-light: #e4d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf5f",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 49.231,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80306,
    "c": 0.11904,
    "h": 97.2
  },
  "luminance": 0.52085
}

Semantic roles & 50–950 ramp

primary
#D4BF5F
secondary
#405097
accent
#3EC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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