#D5B73F#D5B73F

#D5B73F is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.139 H 94.7°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D5B73F
RGBrgb(213, 183, 63)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 70%, 84%)
CMYKcmyk(0%, 14.1%, 70.4%, 16.5%)
CIE-LABlab(75.06, -2.02, 62.04)
CIE-LCHlch(75.06, 62.07, 91.86°)
OKLaboklab(78.44% -0.0114 0.1383)
OKLCHoklch(78.44% 0.139 94.7)
XYZxyz(45.2736, 48.3745, 11.6542)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B73F #3F5DD5
analogous
#D56C3F #D5B73F #A8D53F
triadic
#D5B73F #3FD5B7 #B73FD5
tetradic
#D5B73F #3FD56C #3F5DD5 #D53FA8
square
#D5B73F #3FD56C #3F5DD5 #D53FA8
split-complementary
#D5B73F #3FA8D5 #6C3FD5
monochromatic
#7E6A1C #B09527 #D5B73F #E0CA71 #EBDDA3

Accessibility & contrast

On white

1.97
#D5B73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D5B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B73F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B73F#FFFFFF#000000##000000
##D5B73F1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#E6A99F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b73f;
/* rgb */ color: rgb(213, 183, 63);
/* oklch */ color: oklch(78.4% 0.139 94.7);
Tailwind
colors: {
  custom: {
    50: '#e6cc7b',
    500: '#d5b73f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b73f;
$custom-light: #e6cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b73f",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 48,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78438,
    "c": 0.13874,
    "h": 94.7
  },
  "luminance": 0.48372
}

Semantic roles & 50–950 ramp

primary
#D5B73F
secondary
#98A5D8
accent
#62E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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