#D5B94F#D5B94F

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

Color values

HEX#D5B94F
RGBrgb(213, 185, 79)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 13.1%, 62.9%, 16.5%)
CIE-LABlab(75.71, -2.15, 55.98)
CIE-LCHlch(75.71, 56.02, 92.19°)
OKLaboklab(78.99% -0.01 0.128)
OKLCHoklch(78.99% 0.128 94.4)
XYZxyz(46.2029, 49.4109, 14.4992)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B94F #4F6BD5
analogous
#D5764F #D5B94F #AED54F
triadic
#D5B94F #4FD5B9 #B94FD5
tetradic
#D5B94F #4FD576 #4F6BD5 #D54FAE
square
#D5B94F #4FD576 #4F6BD5 #D54FAE
split-complementary
#D5B94F #4FAED5 #764FD5
monochromatic
#897321 #BA9D2C #D5B94F #E1CD80 #EDE0B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B94F#FFFFFF#000000##000000
##D5B94F1.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)
#CBB643
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#E5ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b94f;
/* rgb */ color: rgb(213, 185, 79);
/* oklch */ color: oklch(79.0% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#e5cd85',
    500: '#d5b94f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b94f;
$custom-light: #e5cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b94f",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 47.463,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.1284,
    "h": 94.4
  },
  "luminance": 0.49409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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