#D5B641#D5B641

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

Color values

HEX#D5B641
RGBrgb(213, 182, 65)
HSLhsl(47, 64%, 55%)
HSVhsv(47, 69%, 84%)
CMYKcmyk(0%, 14.6%, 69.5%, 16.5%)
CIE-LABlab(74.82, -1.39, 61.00)
CIE-LCHlch(74.82, 61.01, 91.31°)
OKLaboklab(78.25% -0.0094 0.1364)
OKLCHoklch(78.25% 0.137 94)
XYZxyz(45.1250, 47.9862, 11.8854)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B641 #4160D5
analogous
#D56C41 #D5B641 #AAD541
triadic
#D5B641 #41D5B6 #B641D5
tetradic
#D5B641 #41D56C #4160D5 #D541AA
square
#D5B641 #41D56C #4160D5 #D541AA
split-complementary
#D5B641 #41AAD5 #6C41D5
monochromatic
#7F6B1C #B29527 #D5B641 #E0C973 #EBDDA5

Accessibility & contrast

On white

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

On black

10.60
#D5B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B641
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B641#FFFFFF#000000##000000
##D5B6411.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b641;
/* rgb */ color: rgb(213, 182, 65);
/* oklch */ color: oklch(78.3% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6cb7c',
    500: '#d5b641',
    950: '#000000',
  },
}
SCSS
$custom: #d5b641;
$custom-light: #e6cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b641",
  "rgb": {
    "r": 213,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 47.432,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7825,
    "c": 0.13674,
    "h": 94
  },
  "luminance": 0.47984
}

Semantic roles & 50–950 ramp

primary
#D5B641
secondary
#9AA7D8
accent
#64E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B641

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

Preview Lab → · Contrast checker → · Palette generator →

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