#D5BC58#D5BC58

#D5BC58 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.123 H 95.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D5BC58
RGBrgb(213, 188, 88)
HSLhsl(48, 60%, 59%)
HSVhsv(48, 59%, 84%)
CMYKcmyk(0%, 11.7%, 58.7%, 16.5%)
CIE-LABlab(76.57, -3.09, 52.86)
CIE-LCHlch(76.57, 52.95, 93.35°)
OKLaboklab(79.7% -0.0116 0.1225)
OKLCHoklch(79.7% 0.123 95.4)
XYZxyz(47.1872, 50.8194, 16.5542)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BC58 #5871D5
analogous
#D57E58 #D5BC58 #B0D558
triadic
#D5BC58 #58D5BC #BC58D5
tetradic
#D5BC58 #58D57E #5871D5 #D558B0
square
#D5BC58 #58D57E #5871D5 #D558B0
split-complementary
#D5BC58 #58B0D5 #7E58D5
monochromatic
#8F7924 #C0A330 #D5BC58 #E1D089 #EEE3BA

Accessibility & contrast

On white

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

On black

11.16
#D5BC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BC58
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BC58#FFFFFF#000000##000000
##D5BC581.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84E
Deuteranopia (green-blind)
#D4C05D
Tritanopia (blue-blind)
#E4AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d5bc58;
/* rgb */ color: rgb(213, 188, 88);
/* oklch */ color: oklch(79.7% 0.123 95.4);
Tailwind
colors: {
  custom: {
    50: '#e5cf8a',
    500: '#d5bc58',
    950: '#000000',
  },
}
SCSS
$custom: #d5bc58;
$custom-light: #e5cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bc58",
  "rgb": {
    "r": 213,
    "g": 188,
    "b": 88
  },
  "hsl": {
    "h": 48,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.797,
    "c": 0.12307,
    "h": 95.4
  },
  "luminance": 0.50817
}

Semantic roles & 50–950 ramp

primary
#D5BC58
secondary
#3D4E94
accent
#64E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BC58

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

Preview Lab → · Contrast checker → · Palette generator →

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