#D5BF42#D5BF42

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

Color values

HEX#D5BF42
RGBrgb(213, 191, 66)
HSLhsl(51, 64%, 55%)
HSVhsv(51, 69%, 84%)
CMYKcmyk(0%, 10.3%, 69%, 16.5%)
CIE-LABlab(77.16, -6.02, 62.98)
CIE-LCHlch(77.16, 63.26, 95.46°)
OKLaboklab(80.11% -0.0225 0.1408)
OKLCHoklch(80.11% 0.143 99.1)
XYZxyz(47.0569, 51.8033, 12.6736)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF42 #4258D5
analogous
#D57542 #D5BF42 #A2D542
triadic
#D5BF42 #42D5BF #BF42D5
tetradic
#D5BF42 #42D575 #4258D5 #D542A2
square
#D5BF42 #42D575 #4258D5 #D542A2
split-complementary
#D5BF42 #42A2D5 #7542D5
monochromatic
#80711C #B29D28 #D5BF42 #E0D074 #EBE1A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BF42#FFFFFF#000000##000000
##D5BF421.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)
#D1BA30
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#E5B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf42;
/* rgb */ color: rgb(213, 191, 66);
/* oklch */ color: oklch(80.1% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e6d17d',
    500: '#d5bf42',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf42;
$custom-light: #e6d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf42",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 51.02,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8011,
    "c": 0.14256,
    "h": 99.1
  },
  "luminance": 0.51801
}

Semantic roles & 50–950 ramp

primary
#D5BF42
secondary
#344087
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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