#D5BF40#D5BF40

#D5BF40 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.144 H 99.2°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D5BF40
RGBrgb(213, 191, 64)
HSLhsl(51, 64%, 54%)
HSVhsv(51, 70%, 84%)
CMYKcmyk(0%, 10.3%, 70%, 16.5%)
CIE-LABlab(77.15, -6.12, 63.74)
CIE-LCHlch(77.15, 64.03, 95.48°)
OKLaboklab(80.09% -0.023 0.142)
OKLCHoklch(80.09% 0.144 99.2)
XYZxyz(46.9990, 51.7801, 12.3685)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF40 #4056D5
analogous
#D57540 #D5BF40 #A1D540
triadic
#D5BF40 #40D5BF #BF40D5
tetradic
#D5BF40 #40D575 #4056D5 #D540A1
square
#D5BF40 #40D575 #4056D5 #D540A1
split-complementary
#D5BF40 #40A1D5 #7540D5
monochromatic
#7F701C #B19D27 #D5BF40 #E0D072 #EBE1A4

Accessibility & contrast

On white

1.85
#D5BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D5BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF40
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF40#FFFFFF#000000##000000
##D5BF401.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#E5B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5bf40;
/* rgb */ color: rgb(213, 191, 64);
/* oklch */ color: oklch(80.1% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#e6d17c',
    500: '#d5bf40',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf40;
$custom-light: #e6d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf40",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 51.141,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80094,
    "c": 0.1439,
    "h": 99.2
  },
  "luminance": 0.51778
}

Semantic roles & 50–950 ramp

primary
#D5BF40
secondary
#333F86
accent
#59E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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