#D5B956#D5B956

#D5B956 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.123 H 93.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D5B956
RGBrgb(213, 185, 86)
HSLhsl(47, 60%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 13.1%, 59.6%, 16.5%)
CIE-LABlab(75.77, -1.67, 52.88)
CIE-LCHlch(75.77, 52.91, 91.81°)
OKLaboklab(79.06% -0.0077 0.1223)
OKLCHoklch(79.06% 0.123 93.6)
XYZxyz(46.4713, 49.5182, 15.9125)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B956 #5672D5
analogous
#D57956 #D5B956 #B1D556
triadic
#D5B956 #56D5B9 #B956D5
tetradic
#D5B956 #56D579 #5672D5 #D556B1
square
#D5B956 #56D579 #5672D5 #D556B1
split-complementary
#D5B956 #56B1D5 #7956D5
monochromatic
#8D7623 #BE9F2F #D5B956 #E1CD87 #EDE2B8

Accessibility & contrast

On white

1.93
#D5B956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D5B956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B956
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B956#FFFFFF#000000##000000
##D5B9561.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#E5ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b956;
/* rgb */ color: rgb(213, 185, 86);
/* oklch */ color: oklch(79.1% 0.123 93.6);
Tailwind
colors: {
  custom: {
    50: '#e5cd89',
    500: '#d5b956',
    950: '#000000',
  },
}
SCSS
$custom: #d5b956;
$custom-light: #e5cd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b956",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 46.772,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79064,
    "c": 0.12257,
    "h": 93.6
  },
  "luminance": 0.49516
}

Semantic roles & 50–950 ramp

primary
#D5B956
secondary
#AAB5DD
accent
#67E344
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B956

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

Preview Lab → · Contrast checker → · Palette generator →

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