#D5B541#D5B541

#D5B541 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.136 H 93.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D5B541
RGBrgb(213, 181, 65)
HSLhsl(47, 64%, 55%)
HSVhsv(47, 69%, 84%)
CMYKcmyk(0%, 15%, 69.5%, 16.5%)
CIE-LABlab(74.56, -0.87, 60.73)
CIE-LCHlch(74.56, 60.74, 90.82°)
OKLaboklab(78.05% -0.0079 0.1359)
OKLCHoklch(78.05% 0.136 93.3)
XYZxyz(44.9209, 47.5780, 11.8174)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B541 #4161D5
analogous
#D56B41 #D5B541 #ABD541
triadic
#D5B541 #41D5B5 #B541D5
tetradic
#D5B541 #41D56B #4161D5 #D541AB
square
#D5B541 #41D56B #4161D5 #D541AB
split-complementary
#D5B541 #41ABD5 #6B41D5
monochromatic
#7F6A1C #B29427 #D5B541 #E0C973 #EBDCA5

Accessibility & contrast

On white

2.00
#D5B541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D5B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B541
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B541#FFFFFF#000000##000000
##D5B5411.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B231
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#E6A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b541;
/* rgb */ color: rgb(213, 181, 65);
/* oklch */ color: oklch(78.0% 0.136 93.3);
Tailwind
colors: {
  custom: {
    50: '#e6ca7c',
    500: '#d5b541',
    950: '#000000',
  },
}
SCSS
$custom: #d5b541;
$custom-light: #e6ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b541",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 47.027,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78046,
    "c": 0.13608,
    "h": 93.3
  },
  "luminance": 0.47576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B541

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

Preview Lab → · Contrast checker → · Palette generator →

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