#D5BF54#D5BF54

#D5BF54 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.129 H 97.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D5BF54
RGBrgb(213, 191, 84)
HSLhsl(50, 61%, 58%)
HSVhsv(50, 61%, 84%)
CMYKcmyk(0%, 10.3%, 60.6%, 16.5%)
CIE-LABlab(77.31, -4.93, 55.51)
CIE-LCHlch(77.31, 55.73, 95.08°)
OKLaboklab(80.27% -0.0174 0.1277)
OKLCHoklch(80.27% 0.129 97.8)
XYZxyz(47.6736, 52.0500, 15.9213)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF54 #546AD5
analogous
#D57E54 #D5BF54 #ABD554
triadic
#D5BF54 #54D5BF #BF54D5
tetradic
#D5BF54 #54D57E #546AD5 #D554AB
square
#D5BF54 #54D57E #546AD5 #D554AB
split-complementary
#D5BF54 #54ABD5 #7E54D5
monochromatic
#8C7A22 #BDA52E #D5BF54 #E1D185 #EDE4B6

Accessibility & contrast

On white

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

On black

11.41
#D5BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF54
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF54#FFFFFF#000000##000000
##D5BF541.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bf54;
/* rgb */ color: rgb(213, 191, 84);
/* oklch */ color: oklch(80.3% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#e5d288',
    500: '#d5bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf54;
$custom-light: #e5d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf54",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 49.767,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80274,
    "c": 0.12888,
    "h": 97.8
  },
  "luminance": 0.52048
}

Semantic roles & 50–950 ramp

primary
#D5BF54
secondary
#3B4A92
accent
#5FE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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