#D5B54D#D5B54D

#D5B54D is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.127 H 92.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D5B54D
RGBrgb(213, 181, 77)
HSLhsl(46, 62%, 57%)
HSVhsv(46, 64%, 84%)
CMYKcmyk(0%, 15%, 63.8%, 16.5%)
CIE-LABlab(74.66, -0.18, 55.73)
CIE-LCHlch(74.66, 55.73, 90.18°)
OKLaboklab(78.15% -0.0045 0.1272)
OKLCHoklch(78.15% 0.127 92)
XYZxyz(45.3062, 47.7322, 13.8466)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B54D #4D6DD5
analogous
#D5714D #D5B54D #B1D54D
triadic
#D5B54D #4DD5B5 #B54DD5
tetradic
#D5B54D #4DD571 #4D6DD5 #D54DB1
square
#D5B54D #4DD571 #4D6DD5 #D54DB1
split-complementary
#D5B54D #4DB1D5 #714DD5
monochromatic
#886F20 #B9982C #D5B54D #E1CA7F #ECDEB0

Accessibility & contrast

On white

1.99
#D5B54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D5B54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B54D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B54D#FFFFFF#000000##000000
##D5B54D1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B241
Deuteranopia (green-blind)
#CFBC52
Tritanopia (blue-blind)
#E5A79F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b54d;
/* rgb */ color: rgb(213, 181, 77);
/* oklch */ color: oklch(78.2% 0.127 92.0);
Tailwind
colors: {
  custom: {
    50: '#e5ca83',
    500: '#d5b54d',
    950: '#000000',
  },
}
SCSS
$custom: #d5b54d;
$custom-light: #e5ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b54d",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 45.882,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78154,
    "c": 0.12726,
    "h": 92
  },
  "luminance": 0.4773
}

Semantic roles & 50–950 ramp

primary
#D5B54D
secondary
#A3B0DB
accent
#69E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B54D

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

Preview Lab → · Contrast checker → · Palette generator →

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