#D5BF5B#D5BF5B

#D5BF5B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.123 H 97.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D5BF5B
RGBrgb(213, 191, 91)
HSLhsl(49, 59%, 60%)
HSVhsv(49, 57%, 84%)
CMYKcmyk(0%, 10.3%, 57.3%, 16.5%)
CIE-LABlab(77.38, -4.43, 52.39)
CIE-LCHlch(77.38, 52.57, 94.84°)
OKLaboklab(80.35% -0.0151 0.1219)
OKLCHoklch(80.35% 0.123 97.1)
XYZxyz(47.9616, 52.1652, 17.4381)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF5B #5B71D5
analogous
#D5825B #D5BF5B #AED55B
triadic
#D5BF5B #5BD5BF #BF5BD5
tetradic
#D5BF5B #5BD582 #5B71D5 #D55BAE
square
#D5BF5B #5BD582 #5B71D5 #D55BAE
split-complementary
#D5BF5B #5BAED5 #825BD5
monochromatic
#917D25 #C1A732 #D5BF5B #E1D28C #EEE5BC

Accessibility & contrast

On white

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

On black

11.43
#D5BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF5B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF5B#FFFFFF#000000##000000
##D5BF5B1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bf5b;
/* rgb */ color: rgb(213, 191, 91);
/* oklch */ color: oklch(80.4% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#e5d28c',
    500: '#d5bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf5b;
$custom-light: #e5d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf5b",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 49.18,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80351,
    "c": 0.12279,
    "h": 97.1
  },
  "luminance": 0.52163
}

Semantic roles & 50–950 ramp

primary
#D5BF5B
secondary
#3E4E96
accent
#62E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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