#D5BF4B#D5BF4B

#D5BF4B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.136 H 98.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D5BF4B
RGBrgb(213, 191, 75)
HSLhsl(50, 62%, 56%)
HSVhsv(50, 65%, 84%)
CMYKcmyk(0%, 10.3%, 64.8%, 16.5%)
CIE-LABlab(77.23, -5.51, 59.36)
CIE-LCHlch(77.23, 59.62, 95.31°)
OKLaboklab(80.19% -0.0201 0.1346)
OKLCHoklch(80.19% 0.136 98.5)
XYZxyz(47.3434, 51.9179, 14.1827)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF4B #4B61D5
analogous
#D57A4B #D5BF4B #A6D54B
triadic
#D5BF4B #4BD5BF #BF4BD5
tetradic
#D5BF4B #4BD57A #4B61D5 #D54BA6
square
#D5BF4B #4BD57A #4B61D5 #D54BA6
split-complementary
#D5BF4B #4BA6D5 #7A4BD5
monochromatic
#86761F #B8A12B #D5BF4B #E1D17D #ECE2AE

Accessibility & contrast

On white

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

On black

11.38
#D5BF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF4B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF4B#FFFFFF#000000##000000
##D5BF4B1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3D
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf4b;
/* rgb */ color: rgb(213, 191, 75);
/* oklch */ color: oklch(80.2% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#e5d283',
    500: '#d5bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf4b;
$custom-light: #e5d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf4b",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 50.435,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80186,
    "c": 0.13608,
    "h": 98.5
  },
  "luminance": 0.51916
}

Semantic roles & 50–950 ramp

primary
#D5BF4B
secondary
#37458D
accent
#5CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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