#D5B94C#D5B94C

#D5B94C is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.131 H 94.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D5B94C
RGBrgb(213, 185, 76)
HSLhsl(48, 62%, 57%)
HSVhsv(48, 64%, 84%)
CMYKcmyk(0%, 13.1%, 64.3%, 16.5%)
CIE-LABlab(75.68, -2.33, 57.27)
CIE-LCHlch(75.68, 57.32, 92.33°)
OKLaboklab(78.96% -0.0109 0.1303)
OKLCHoklch(78.96% 0.131 94.8)
XYZxyz(46.0962, 49.3682, 13.9371)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B94C #4C68D5
analogous
#D5754C #D5B94C #ADD54C
triadic
#D5B94C #4CD5B9 #B94CD5
tetradic
#D5B94C #4CD575 #4C68D5 #D54CAD
square
#D5B94C #4CD575 #4C68D5 #D54CAD
split-complementary
#D5B94C #4CADD5 #754CD5
monochromatic
#877220 #B99C2B #D5B94C #E1CC7E #ECE0AF

Accessibility & contrast

On white

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

On black

10.87
#D5B94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B94C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B94C#FFFFFF#000000##000000
##D5B94C1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#E5ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b94c;
/* rgb */ color: rgb(213, 185, 76);
/* oklch */ color: oklch(79.0% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#e5cd83',
    500: '#d5b94c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b94c;
$custom-light: #e5cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b94c",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 47.737,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7896,
    "c": 0.13077,
    "h": 94.8
  },
  "luminance": 0.49366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B94C

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

Preview Lab → · Contrast checker → · Palette generator →

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