#D5B640#D5B640

#D5B640 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.137 H 94.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D5B640
RGBrgb(213, 182, 64)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 70%, 84%)
CMYKcmyk(0%, 14.6%, 70%, 16.5%)
CIE-LABlab(74.81, -1.44, 61.39)
CIE-LCHlch(74.81, 61.41, 91.35°)
OKLaboklab(78.24% -0.0097 0.1371)
OKLCHoklch(78.24% 0.137 94)
XYZxyz(45.0962, 47.9747, 11.7342)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B640 #405FD5
analogous
#D56C40 #D5B640 #A9D540
triadic
#D5B640 #40D5B6 #B640D5
tetradic
#D5B640 #40D56C #405FD5 #D540A9
square
#D5B640 #40D56C #405FD5 #D540A9
split-complementary
#D5B640 #40A9D5 #6C40D5
monochromatic
#7F6A1C #B19427 #D5B640 #E0C972 #EBDCA4

Accessibility & contrast

On white

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

On black

10.59
#D5B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B640
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B640#FFFFFF#000000##000000
##D5B6401.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#E6A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b640;
/* rgb */ color: rgb(213, 182, 64);
/* oklch */ color: oklch(78.2% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6cb7b',
    500: '#d5b640',
    950: '#000000',
  },
}
SCSS
$custom: #d5b640;
$custom-light: #e6cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b640",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 47.517,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78242,
    "c": 0.13741,
    "h": 94
  },
  "luminance": 0.47972
}

Semantic roles & 50–950 ramp

primary
#D5B640
secondary
#99A6D8
accent
#63E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B640

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

Preview Lab → · Contrast checker → · Palette generator →

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