#D5B64D#D5B64D

#D5B64D is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.128 H 92.7°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D5B64D
RGBrgb(213, 182, 77)
HSLhsl(46, 62%, 57%)
HSVhsv(46, 64%, 84%)
CMYKcmyk(0%, 14.6%, 63.8%, 16.5%)
CIE-LABlab(74.91, -0.70, 56.01)
CIE-LCHlch(74.91, 56.01, 90.72°)
OKLaboklab(78.36% -0.006 0.1278)
OKLCHoklch(78.36% 0.128 92.7)
XYZxyz(45.5102, 48.1403, 13.9146)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B64D #4D6CD5
analogous
#D5724D #D5B64D #B0D54D
triadic
#D5B64D #4DD5B6 #B64DD5
tetradic
#D5B64D #4DD572 #4D6CD5 #D54DB0
square
#D5B64D #4DD572 #4D6CD5 #D54DB0
split-complementary
#D5B64D #4DB0D5 #724DD5
monochromatic
#887020 #B9992C #D5B64D #E1CA7F #ECDFB0

Accessibility & contrast

On white

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

On black

10.63
#D5B64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B64D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B64D#FFFFFF#000000##000000
##D5B64D1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#E5A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b64d;
/* rgb */ color: rgb(213, 182, 77);
/* oklch */ color: oklch(78.4% 0.128 92.7);
Tailwind
colors: {
  custom: {
    50: '#e5cb83',
    500: '#d5b64d',
    950: '#000000',
  },
}
SCSS
$custom: #d5b64d;
$custom-light: #e5cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b64d",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 46.324,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78358,
    "c": 0.12791,
    "h": 92.7
  },
  "luminance": 0.48138
}

Semantic roles & 50–950 ramp

primary
#D5B64D
secondary
#A3B0DB
accent
#68E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B64D

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

Preview Lab → · Contrast checker → · Palette generator →

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