#D5BF45#D5BF45

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

Color values

HEX#D5BF45
RGBrgb(213, 191, 69)
HSLhsl(51, 63%, 55%)
HSVhsv(51, 68%, 84%)
CMYKcmyk(0%, 10.3%, 67.6%, 16.5%)
CIE-LABlab(77.18, -5.86, 61.80)
CIE-LCHlch(77.18, 62.08, 95.41°)
OKLaboklab(80.13% -0.0217 0.1388)
OKLCHoklch(80.13% 0.14 98.9)
XYZxyz(47.1477, 51.8396, 13.1517)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF45 #455BD5
analogous
#D57745 #D5BF45 #A3D545
triadic
#D5BF45 #45D5BF #BF45D5
tetradic
#D5BF45 #45D577 #455BD5 #D545A3
square
#D5BF45 #45D577 #455BD5 #D545A3
split-complementary
#D5BF45 #45A3D5 #7745D5
monochromatic
#82731D #B49F29 #D5BF45 #E0D077 #ECE1A9

Accessibility & contrast

On white

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

On black

11.37
#D5BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF45
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF45#FFFFFF#000000##000000
##D5BF451.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#E5B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf45;
/* rgb */ color: rgb(213, 191, 69);
/* oklch */ color: oklch(80.1% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#e5d27f',
    500: '#d5bf45',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf45;
$custom-light: #e5d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf45",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 50.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80134,
    "c": 0.14048,
    "h": 98.9
  },
  "luminance": 0.51837
}

Semantic roles & 50–950 ramp

primary
#D5BF45
secondary
#354289
accent
#5BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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