#D5B84B#D5B84B

#D5B84B is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.131 H 94.2°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D5B84B
RGBrgb(213, 184, 75)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 13.6%, 64.8%, 16.5%)
CIE-LABlab(75.41, -1.87, 57.42)
CIE-LCHlch(75.41, 57.45, 91.87°)
OKLaboklab(78.75% -0.0096 0.1305)
OKLCHoklch(78.75% 0.131 94.2)
XYZxyz(45.8532, 48.9375, 13.6859)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B84B #4B68D5
analogous
#D5734B #D5B84B #ADD54B
triadic
#D5B84B #4BD5B8 #B84BD5
tetradic
#D5B84B #4BD573 #4B68D5 #D54BAD
square
#D5B84B #4BD573 #4B68D5 #D54BAD
split-complementary
#D5B84B #4BADD5 #734BD5
monochromatic
#86711F #B89A2B #D5B84B #E1CC7D #ECDFAE

Accessibility & contrast

On white

1.95
#D5B84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D5B84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B84B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B84B#FFFFFF#000000##000000
##D5B84B1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53E
Deuteranopia (green-blind)
#D1BE50
Tritanopia (blue-blind)
#E5AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b84b;
/* rgb */ color: rgb(213, 184, 75);
/* oklch */ color: oklch(78.7% 0.131 94.2);
Tailwind
colors: {
  custom: {
    50: '#e5cd82',
    500: '#d5b84b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b84b;
$custom-light: #e5cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b84b",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 47.391,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78746,
    "c": 0.13084,
    "h": 94.2
  },
  "luminance": 0.48935
}

Semantic roles & 50–950 ramp

primary
#D5B84B
secondary
#A2ADDA
accent
#65E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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