#D5B94E#D5B94E

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

Color values

HEX#D5B94E
RGBrgb(213, 185, 78)
HSLhsl(48, 62%, 57%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 13.1%, 63.4%, 16.5%)
CIE-LABlab(75.70, -2.21, 56.42)
CIE-LCHlch(75.70, 56.46, 92.24°)
OKLaboklab(78.98% -0.0103 0.1288)
OKLCHoklch(78.98% 0.129 94.6)
XYZxyz(46.1668, 49.3965, 14.3090)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B94E #4E6AD5
analogous
#D5764E #D5B94E #ADD54E
triadic
#D5B94E #4ED5B9 #B94ED5
tetradic
#D5B94E #4ED576 #4E6AD5 #D54EAD
square
#D5B94E #4ED576 #4E6AD5 #D54EAD
split-complementary
#D5B94E #4EADD5 #764ED5
monochromatic
#887320 #BA9C2C #D5B94E #E1CD7F #ECE0B1

Accessibility & contrast

On white

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

On black

10.88
#D5B94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B94E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B94E#FFFFFF#000000##000000
##D5B94E1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b94e;
/* rgb */ color: rgb(213, 185, 78);
/* oklch */ color: oklch(79.0% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#e5cd84',
    500: '#d5b94e',
    950: '#000000',
  },
}
SCSS
$custom: #d5b94e;
$custom-light: #e5cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b94e",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 47.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7898,
    "c": 0.1292,
    "h": 94.6
  },
  "luminance": 0.49394
}

Semantic roles & 50–950 ramp

primary
#D5B94E
secondary
#A4AFDB
accent
#65E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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