#D5BD3C#D5BD3C

#D5BD3C is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.7% C 0.145 H 98.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D5BD3C
RGBrgb(213, 189, 60)
HSLhsl(51, 65%, 54%)
HSVhsv(51, 72%, 84%)
CMYKcmyk(0%, 11.3%, 71.8%, 16.5%)
CIE-LABlab(76.60, -5.28, 64.72)
CIE-LCHlch(76.60, 64.93, 94.67°)
OKLaboklab(79.65% -0.0211 0.1434)
OKLCHoklch(79.65% 0.145 98.4)
XYZxyz(46.4560, 50.8699, 11.6460)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BD3C #3C54D5
analogous
#D5703C #D5BD3C #A0D53C
triadic
#D5BD3C #3CD5BD #BD3CD5
tetradic
#D5BD3C #3CD570 #3C54D5 #D53CA0
square
#D5BD3C #3CD570 #3C54D5 #D53CA0
split-complementary
#D5BD3C #3CA0D5 #703CD5
monochromatic
#7C6D1B #AE9926 #D5BD3C #E0CE6E #EBDFA1

Accessibility & contrast

On white

1.88
#D5BD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#D5BD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BD3C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BD3C#FFFFFF#000000##000000
##D5BD3C1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B827
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#E6AFA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bd3c;
/* rgb */ color: rgb(213, 189, 60);
/* oklch */ color: oklch(79.7% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#e6d07a',
    500: '#d5bd3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5bd3c;
$custom-light: #e6d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bd3c",
  "rgb": {
    "r": 213,
    "g": 189,
    "b": 60
  },
  "hsl": {
    "h": 50.588,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79651,
    "c": 0.14493,
    "h": 98.4
  },
  "luminance": 0.50868
}

Semantic roles & 50–950 ramp

primary
#D5BD3C
secondary
#323F84
accent
#5AE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D5BD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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