#D5BF50#D5BF50

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

Color values

HEX#D5BF50
RGBrgb(213, 191, 80)
HSLhsl(50, 61%, 57%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.3%, 62.4%, 16.5%)
CIE-LABlab(77.27, -5.20, 57.25)
CIE-LCHlch(77.27, 57.49, 95.19°)
OKLaboklab(80.23% -0.0186 0.1309)
OKLCHoklch(80.23% 0.132 98.1)
XYZxyz(47.5213, 51.9891, 15.1196)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF50 #5066D5
analogous
#D57C50 #D5BF50 #A9D550
triadic
#D5BF50 #50D5BF #BF50D5
tetradic
#D5BF50 #50D57C #5066D5 #D550A9
square
#D5BF50 #50D57C #5066D5 #D550A9
split-complementary
#D5BF50 #50A9D5 #7C50D5
monochromatic
#8A7821 #BBA32D #D5BF50 #E1D181 #EDE3B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BF50#FFFFFF#000000##000000
##D5BF501.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)
#D0BA43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf50;
/* rgb */ color: rgb(213, 191, 80);
/* oklch */ color: oklch(80.2% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#e5d286',
    500: '#d5bf50',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf50;
$custom-light: #e5d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf50",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 50.075,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80234,
    "c": 0.13217,
    "h": 98.1
  },
  "luminance": 0.51987
}

Semantic roles & 50–950 ramp

primary
#D5BF50
secondary
#394890
accent
#5EE443
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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