#D5B94B#D5B94B

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

Color values

HEX#D5B94B
RGBrgb(213, 185, 75)
HSLhsl(48, 62%, 56%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 13.1%, 64.8%, 16.5%)
CIE-LABlab(75.67, -2.40, 57.70)
CIE-LCHlch(75.67, 57.75, 92.38°)
OKLaboklab(78.95% -0.0112 0.1311)
OKLCHoklch(78.95% 0.132 94.9)
XYZxyz(46.0617, 49.3544, 13.7554)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B94B #4B67D5
analogous
#D5744B #D5B94B #ACD54B
triadic
#D5B94B #4BD5B9 #B94BD5
tetradic
#D5B94B #4BD574 #4B67D5 #D54BAC
square
#D5B94B #4BD574 #4B67D5 #D54BAC
split-complementary
#D5B94B #4BACD5 #744BD5
monochromatic
#86711F #B89B2B #D5B94B #E1CC7D #ECE0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B94B#FFFFFF#000000##000000
##D5B94B1.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)
#CBB53E
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#E5ABA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b94b;
/* rgb */ color: rgb(213, 185, 75);
/* oklch */ color: oklch(79.0% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#e5cd82',
    500: '#d5b94b',
    950: '#000000',
  },
}
SCSS
$custom: #d5b94b;
$custom-light: #e5cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b94b",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 47.826,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78951,
    "c": 0.13154,
    "h": 94.9
  },
  "luminance": 0.49352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B94B

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

Preview Lab → · Contrast checker → · Palette generator →

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