#D5B64A#D5B64A

#D5B64A is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.130 H 93.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D5B64A
RGBrgb(213, 182, 74)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 14.6%, 65.3%, 16.5%)
CIE-LABlab(74.89, -0.89, 57.30)
CIE-LCHlch(74.89, 57.30, 90.89°)
OKLaboklab(78.33% -0.0069 0.1301)
OKLCHoklch(78.33% 0.13 93.1)
XYZxyz(45.4068, 48.0989, 13.3696)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B64A #4A69D5
analogous
#D5714A #D5B64A #AFD54A
triadic
#D5B64A #4AD5B6 #B64AD5
tetradic
#D5B64A #4AD571 #4A69D5 #D54AAF
square
#D5B64A #4AD571 #4A69D5 #D54AAF
split-complementary
#D5B64A #4AAFD5 #714AD5
monochromatic
#866F1F #B7982B #D5B64A #E1CA7C #ECDEAD

Accessibility & contrast

On white

1.98
#D5B64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D5B64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B64A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B64A#FFFFFF#000000##000000
##D5B64A1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b64a;
/* rgb */ color: rgb(213, 182, 74);
/* oklch */ color: oklch(78.3% 0.130 93.1);
Tailwind
colors: {
  custom: {
    50: '#e5cb81',
    500: '#d5b64a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b64a;
$custom-light: #e5cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b64a",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 46.619,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78329,
    "c": 0.13025,
    "h": 93.1
  },
  "luminance": 0.48096
}

Semantic roles & 50–950 ramp

primary
#D5B64A
secondary
#A1AEDA
accent
#67E542
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B64A

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

Preview Lab → · Contrast checker → · Palette generator →

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