#D5BF52#D5BF52

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

Color values

HEX#D5BF52
RGBrgb(213, 191, 82)
HSLhsl(50, 61%, 58%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.3%, 61.5%, 16.5%)
CIE-LABlab(77.29, -5.07, 56.39)
CIE-LCHlch(77.29, 56.61, 95.14°)
OKLaboklab(80.25% -0.018 0.1293)
OKLCHoklch(80.25% 0.131 97.9)
XYZxyz(47.5963, 52.0191, 15.5146)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF52 #5268D5
analogous
#D57E52 #D5BF52 #A9D552
triadic
#D5BF52 #52D5BF #BF52D5
tetradic
#D5BF52 #52D57E #5268D5 #D552A9
square
#D5BF52 #52D57E #5268D5 #D552A9
split-complementary
#D5BF52 #52A9D5 #7E52D5
monochromatic
#8B7922 #BCA42E #D5BF52 #E1D183 #EDE3B4

Accessibility & contrast

On white

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

On black

11.40
#D5BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF52
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF52#FFFFFF#000000##000000
##D5BF521.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bf52;
/* rgb */ color: rgb(213, 191, 82);
/* oklch */ color: oklch(80.3% 0.131 97.9);
Tailwind
colors: {
  custom: {
    50: '#e5d287',
    500: '#d5bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf52;
$custom-light: #e5d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf52",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 49.924,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80254,
    "c": 0.13054,
    "h": 97.9
  },
  "luminance": 0.52017
}

Semantic roles & 50–950 ramp

primary
#D5BF52
secondary
#3A4991
accent
#5FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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