#D5BC39#D5BC39

#D5BC39 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.146 H 98.0°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D5BC39
RGBrgb(213, 188, 57)
HSLhsl(50, 65%, 53%)
HSVhsv(50, 73%, 84%)
CMYKcmyk(0%, 11.7%, 73.2%, 16.5%)
CIE-LABlab(76.32, -4.90, 65.55)
CIE-LCHlch(76.32, 65.73, 94.28°)
OKLaboklab(79.42% -0.0203 0.1446)
OKLCHoklch(79.42% 0.146 98)
XYZxyz(46.1646, 50.4103, 11.1686)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC39 #3952D5
analogous
#D56E39 #D5BC39 #A0D539
triadic
#D5BC39 #39D5BC #BC39D5
tetradic
#D5BC39 #39D56E #3952D5 #D539A0
square
#D5BC39 #39D56E #3952D5 #D539A0
split-complementary
#D5BC39 #39A0D5 #6E39D5
monochromatic
#7A6A1A #AC9725 #D5BC39 #E0CD6B #EADE9E

Accessibility & contrast

On white

1.90
#D5BC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D5BC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC39
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC39#FFFFFF#000000##000000
##D5BC391.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB722
Deuteranopia (green-blind)
#D5C041
Tritanopia (blue-blind)
#E6AEA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5bc39;
/* rgb */ color: rgb(213, 188, 57);
/* oklch */ color: oklch(79.4% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#e6cf78',
    500: '#d5bc39',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc39;
$custom-light: #e6cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc39",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 57
  },
  "hsl": {
    "h": 50.385,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.14602,
    "h": 98
  },
  "luminance": 0.50408
}

Semantic roles & 50–950 ramp

primary
#D5BC39
secondary
#313E82
accent
#5BE840
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161309
muted
#85837D

Preview Lab

Preview with #D5BC39

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

Preview Lab → · Contrast checker → · Palette generator →

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