#D5B13A#D5B13A

#D5B13A is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.2% C 0.138 H 91.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D5B13A
RGBrgb(213, 177, 58)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 73%, 84%)
CMYKcmyk(0%, 16.9%, 72.8%, 16.5%)
CIE-LABlab(73.48, 0.89, 62.42)
CIE-LCHlch(73.48, 62.43, 89.18°)
OKLaboklab(77.18% -0.0037 0.1382)
OKLCHoklch(77.18% 0.138 91.5)
XYZxyz(43.9289, 45.8985, 10.5477)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B13A #3A5ED5
analogous
#D5643A #D5B13A #ABD53A
triadic
#D5B13A #3AD5B1 #B13AD5
tetradic
#D5B13A #3AD564 #3A5ED5 #D53AAB
square
#D5B13A #3AD564 #3A5ED5 #D53AAB
split-complementary
#D5B13A #3AABD5 #643AD5
monochromatic
#7A641A #AD8D25 #D5B13A #E0C56C #EBD99F

Accessibility & contrast

On white

2.06
#D5B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#D5B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B13A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B13A#FFFFFF#000000##000000
##D5B13A1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF28
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#E6A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b13a;
/* rgb */ color: rgb(213, 177, 58);
/* oklch */ color: oklch(77.2% 0.138 91.5);
Tailwind
colors: {
  custom: {
    50: '#e6c778',
    500: '#d5b13a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b13a;
$custom-light: #e6c778;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b13a",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 46.065,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77179,
    "c": 0.1382,
    "h": 91.5
  },
  "luminance": 0.45896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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