#D5BF56#D5BF56

#D5BF56 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.127 H 97.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D5BF56
RGBrgb(213, 191, 86)
HSLhsl(50, 60%, 59%)
HSVhsv(50, 60%, 84%)
CMYKcmyk(0%, 10.3%, 59.6%, 16.5%)
CIE-LABlab(77.33, -4.80, 54.63)
CIE-LCHlch(77.33, 54.84, 95.02°)
OKLaboklab(80.3% -0.0167 0.1261)
OKLCHoklch(80.3% 0.127 97.6)
XYZxyz(47.7530, 52.0818, 16.3397)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF56 #566CD5
analogous
#D57F56 #D5BF56 #ABD556
triadic
#D5BF56 #56D5BF #BF56D5
tetradic
#D5BF56 #56D57F #566CD5 #D556AB
square
#D5BF56 #56D57F #566CD5 #D556AB
split-complementary
#D5BF56 #56ABD5 #7F56D5
monochromatic
#8D7B23 #BEA62F #D5BF56 #E1D287 #EDE4B8

Accessibility & contrast

On white

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

On black

11.42
#D5BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF56
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF56#FFFFFF#000000##000000
##D5BF561.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#E4B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf56;
/* rgb */ color: rgb(213, 191, 86);
/* oklch */ color: oklch(80.3% 0.127 97.6);
Tailwind
colors: {
  custom: {
    50: '#e5d289',
    500: '#d5bf56',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf56;
$custom-light: #e5d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf56",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 49.606,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80295,
    "c": 0.12718,
    "h": 97.6
  },
  "luminance": 0.5208
}

Semantic roles & 50–950 ramp

primary
#D5BF56
secondary
#3C4B93
accent
#60E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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