#D4BF5A#D4BF5A

#D4BF5A is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.124 H 97.7°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D4BF5A
RGBrgb(212, 191, 90)
HSLhsl(50, 59%, 59%)
HSVhsv(50, 58%, 83%)
CMYKcmyk(0%, 9.9%, 57.5%, 16.9%)
CIE-LABlab(77.28, -4.92, 52.72)
CIE-LCHlch(77.28, 52.94, 95.34°)
OKLaboklab(80.25% -0.0166 0.1225)
OKLCHoklch(80.25% 0.124 97.7)
XYZxyz(47.6295, 51.9989, 17.1988)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF5A #5A6FD4
analogous
#D4825A #D4BF5A #ACD45A
triadic
#D4BF5A #5AD4BF #BF5AD4
tetradic
#D4BF5A #5AD482 #5A6FD4 #D45AAC
square
#D4BF5A #5AD482 #5A6FD4 #D45AAC
split-complementary
#D4BF5A #5AACD4 #825AD4
monochromatic
#8E7C25 #BFA732 #D4BF5A #E1D28B #EDE5BB

Accessibility & contrast

On white

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

On black

11.40
#D4BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF5A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF5A#FFFFFF#000000##000000
##D4BF5A1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bf5a;
/* rgb */ color: rgb(212, 191, 90);
/* oklch */ color: oklch(80.2% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#e4d28c',
    500: '#d4bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf5a;
$custom-light: #e4d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf5a",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 49.672,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80248,
    "c": 0.12359,
    "h": 97.7
  },
  "luminance": 0.51997
}

Semantic roles & 50–950 ramp

primary
#D4BF5A
secondary
#3E4D94
accent
#61E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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