#D5BF4D#D5BF4D

#D5BF4D is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.135 H 98.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D5BF4D
RGBrgb(213, 191, 77)
HSLhsl(50, 62%, 57%)
HSVhsv(50, 64%, 84%)
CMYKcmyk(0%, 10.3%, 63.8%, 16.5%)
CIE-LABlab(77.25, -5.39, 58.53)
CIE-LCHlch(77.25, 58.77, 95.26°)
OKLaboklab(80.21% -0.0195 0.1331)
OKLCHoklch(80.21% 0.135 98.3)
XYZxyz(47.4130, 51.9457, 14.5488)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF4D #4D63D5
analogous
#D57B4D #D5BF4D #A7D54D
triadic
#D5BF4D #4DD5BF #BF4DD5
tetradic
#D5BF4D #4DD57B #4D63D5 #D54DA7
square
#D5BF4D #4DD57B #4D63D5 #D54DA7
split-complementary
#D5BF4D #4DA7D5 #7B4DD5
monochromatic
#887720 #B9A22C #D5BF4D #E1D17F #ECE3B0

Accessibility & contrast

On white

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

On black

11.39
#D5BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF4D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF4D#FFFFFF#000000##000000
##D5BF4D1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3F
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf4d;
/* rgb */ color: rgb(213, 191, 77);
/* oklch */ color: oklch(80.2% 0.135 98.3);
Tailwind
colors: {
  custom: {
    50: '#e5d284',
    500: '#d5bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf4d;
$custom-light: #e5d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf4d",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 50.294,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80205,
    "c": 0.13454,
    "h": 98.3
  },
  "luminance": 0.51944
}

Semantic roles & 50–950 ramp

primary
#D5BF4D
secondary
#38468E
accent
#5DE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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