#D5BF5F#D5BF5F

#D5BF5F is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.119 H 96.6°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D5BF5F
RGBrgb(213, 191, 95)
HSLhsl(49, 58%, 60%)
HSVhsv(49, 55%, 84%)
CMYKcmyk(0%, 10.3%, 55.4%, 16.5%)
CIE-LABlab(77.42, -4.12, 50.56)
CIE-LCHlch(77.42, 50.72, 94.66°)
OKLaboklab(80.4% -0.0138 0.1184)
OKLCHoklch(80.4% 0.119 96.6)
XYZxyz(48.1387, 52.2360, 18.3711)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF5F #5F75D5
analogous
#D5845F #D5BF5F #B0D55F
triadic
#D5BF5F #5FD5BF #BF5FD5
tetradic
#D5BF5F #5FD584 #5F75D5 #D55FB0
square
#D5BF5F #5FD584 #5F75D5 #D55FB0
split-complementary
#D5BF5F #5FB0D5 #845FD5
monochromatic
#937F27 #C3A933 #D5BF5F #E2D28F #EEE6C0

Accessibility & contrast

On white

1.83
#D5BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D5BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF5F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF5F#FFFFFF#000000##000000
##D5BF5F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bf5f;
/* rgb */ color: rgb(213, 191, 95);
/* oklch */ color: oklch(80.4% 0.119 96.6);
Tailwind
colors: {
  custom: {
    50: '#e4d28f',
    500: '#d5bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf5f;
$custom-light: #e4d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf5f",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 48.814,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80398,
    "c": 0.11916,
    "h": 96.6
  },
  "luminance": 0.52234
}

Semantic roles & 50–950 ramp

primary
#D5BF5F
secondary
#405098
accent
#3FC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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