#D5B53A#D5B53A

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

Color values

HEX#D5B53A
RGBrgb(213, 181, 58)
HSLhsl(48, 65%, 53%)
HSVhsv(48, 73%, 84%)
CMYKcmyk(0%, 15%, 72.8%, 16.5%)
CIE-LABlab(74.51, -1.21, 63.43)
CIE-LCHlch(74.51, 63.44, 91.09°)
OKLaboklab(77.99% -0.0097 0.1403)
OKLCHoklch(77.99% 0.141 94)
XYZxyz(44.7306, 47.5019, 10.8149)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B53A #3A5AD5
analogous
#D5673A #D5B53A #A7D53A
triadic
#D5B53A #3AD5B5 #B53AD5
tetradic
#D5B53A #3AD567 #3A5AD5 #D53AA7
square
#D5B53A #3AD567 #3A5AD5 #D53AA7
split-complementary
#D5B53A #3AA7D5 #673AD5
monochromatic
#7A671A #AD9125 #D5B53A #E0C86C #EBDB9F

Accessibility & contrast

On white

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

On black

10.50
#D5B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B53A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B53A#FFFFFF#000000##000000
##D5B53A1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b53a;
/* rgb */ color: rgb(213, 181, 58);
/* oklch */ color: oklch(78.0% 0.141 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6ca78',
    500: '#d5b53a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b53a;
$custom-light: #e6ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b53a",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 47.613,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77992,
    "c": 0.14061,
    "h": 94
  },
  "luminance": 0.47499
}

Semantic roles & 50–950 ramp

primary
#D5B53A
secondary
#94A2D7
accent
#63E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D5B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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