#D5B84C#D5B84C

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

Color values

HEX#D5B84C
RGBrgb(213, 184, 76)
HSLhsl(47, 62%, 57%)
HSVhsv(47, 64%, 84%)
CMYKcmyk(0%, 13.6%, 64.3%, 16.5%)
CIE-LABlab(75.42, -1.81, 57.00)
CIE-LCHlch(75.42, 57.03, 91.82°)
OKLaboklab(78.76% -0.0094 0.1297)
OKLCHoklch(78.76% 0.13 94.1)
XYZxyz(45.8877, 48.9513, 13.8676)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B84C #4C69D5
analogous
#D5744C #D5B84C #AED54C
triadic
#D5B84C #4CD5B8 #B84CD5
tetradic
#D5B84C #4CD574 #4C69D5 #D54CAE
square
#D5B84C #4CD574 #4C69D5 #D54CAE
split-complementary
#D5B84C #4CAED5 #744CD5
monochromatic
#877120 #B99B2B #D5B84C #E1CC7E #ECDFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B84C#FFFFFF#000000##000000
##D5B84C1.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)
#CAB53F
Deuteranopia (green-blind)
#D1BE51
Tritanopia (blue-blind)
#E5ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b84c;
/* rgb */ color: rgb(213, 184, 76);
/* oklch */ color: oklch(78.8% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#e5cd83',
    500: '#d5b84c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b84c;
$custom-light: #e5cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b84c",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 47.299,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.13007,
    "h": 94.1
  },
  "luminance": 0.48949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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