#D5B53E#D5B53E

#D5B53E is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.138 H 93.6°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D5B53E
RGBrgb(213, 181, 62)
HSLhsl(47, 64%, 54%)
HSVhsv(47, 71%, 84%)
CMYKcmyk(0%, 15%, 70.9%, 16.5%)
CIE-LABlab(74.54, -1.02, 61.91)
CIE-LCHlch(74.54, 61.92, 90.94°)
OKLaboklab(78.02% -0.0087 0.1378)
OKLCHoklch(78.02% 0.138 93.6)
XYZxyz(44.8363, 47.5442, 11.3718)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B53E #3E5ED5
analogous
#D56A3E #D5B53E #AAD53E
triadic
#D5B53E #3ED5B5 #B53ED5
tetradic
#D5B53E #3ED56A #3E5ED5 #D53EAA
square
#D5B53E #3ED56A #3E5ED5 #D53EAA
split-complementary
#D5B53E #3EAAD5 #6A3ED5
monochromatic
#7D691B #B09226 #D5B53E #E0C870 #EBDCA3

Accessibility & contrast

On white

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

On black

10.51
#D5B53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B53E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B53E#FFFFFF#000000##000000
##D5B53E1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b53e;
/* rgb */ color: rgb(213, 181, 62);
/* oklch */ color: oklch(78.0% 0.138 93.6);
Tailwind
colors: {
  custom: {
    50: '#e6ca7a',
    500: '#d5b53e',
    950: '#000000',
  },
}
SCSS
$custom: #d5b53e;
$custom-light: #e6ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b53e",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 47.285,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78022,
    "c": 0.13808,
    "h": 93.6
  },
  "luminance": 0.47542
}

Semantic roles & 50–950 ramp

primary
#D5B53E
secondary
#97A5D8
accent
#64E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B53E

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

Preview Lab → · Contrast checker → · Palette generator →

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