#D5B03A#D5B03A

#D5B03A is a light, vivid yellow. Relative luminance 0.455; OKLCH L 77.0% C 0.138 H 90.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D5B03A
RGBrgb(213, 176, 58)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 73%, 84%)
CMYKcmyk(0%, 17.4%, 72.8%, 16.5%)
CIE-LABlab(73.22, 1.42, 62.17)
CIE-LCHlch(73.22, 62.19, 88.69°)
OKLaboklab(76.98% -0.0022 0.1376)
OKLCHoklch(76.98% 0.138 90.9)
XYZxyz(43.7321, 45.5050, 10.4821)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B03A #3A5FD5
analogous
#D5623A #D5B03A #ADD53A
triadic
#D5B03A #3AD5B0 #B03AD5
tetradic
#D5B03A #3AD562 #3A5FD5 #D53AAD
square
#D5B03A #3AD562 #3A5FD5 #D53AAD
split-complementary
#D5B03A #3AADD5 #623AD5
monochromatic
#7A631A #AD8C25 #D5B03A #E0C46C #EBD89F

Accessibility & contrast

On white

2.08
#D5B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D5B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B03A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B03A#FFFFFF#000000##000000
##D5B03A1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE28
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E6A198
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b03a;
/* rgb */ color: rgb(213, 176, 58);
/* oklch */ color: oklch(77.0% 0.138 90.9);
Tailwind
colors: {
  custom: {
    50: '#e6c778',
    500: '#d5b03a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b03a;
$custom-light: #e6c778;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b03a",
  "rgb": {
    "r": 213,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 45.677,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76976,
    "c": 0.13763,
    "h": 90.9
  },
  "luminance": 0.45502
}

Semantic roles & 50–950 ramp

primary
#D5B03A
secondary
#94A4D7
accent
#68E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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