#D5B954#D5B954

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

Color values

HEX#D5B954
RGBrgb(213, 185, 84)
HSLhsl(47, 61%, 58%)
HSVhsv(47, 61%, 84%)
CMYKcmyk(0%, 13.1%, 60.6%, 16.5%)
CIE-LABlab(75.75, -1.81, 53.78)
CIE-LCHlch(75.75, 53.81, 91.93°)
OKLaboklab(79.04% -0.0084 0.124)
OKLCHoklch(79.04% 0.124 93.9)
XYZxyz(46.3918, 49.4865, 15.4940)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B954 #5470D5
analogous
#D57854 #D5B954 #B0D554
triadic
#D5B954 #54D5B9 #B954D5
tetradic
#D5B954 #54D578 #5470D5 #D554B0
square
#D5B954 #54D578 #5470D5 #D554B0
split-complementary
#D5B954 #54B0D5 #7854D5
monochromatic
#8C7522 #BD9E2E #D5B954 #E1CD85 #EDE1B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B954#FFFFFF#000000##000000
##D5B9541.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)
#CAB649
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#E5ACA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b954;
/* rgb */ color: rgb(213, 185, 84);
/* oklch */ color: oklch(79.0% 0.124 93.9);
Tailwind
colors: {
  custom: {
    50: '#e5cd88',
    500: '#d5b954',
    950: '#000000',
  },
}
SCSS
$custom: #d5b954;
$custom-light: #e5cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b954",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 46.977,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79042,
    "c": 0.12427,
    "h": 93.9
  },
  "luminance": 0.49484
}

Semantic roles & 50–950 ramp

primary
#D5B954
secondary
#A9B4DC
accent
#67E444
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B954

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

Preview Lab → · Contrast checker → · Palette generator →

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