#D5B037#D5B037

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

Color values

HEX#D5B037
RGBrgb(213, 176, 55)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 74%, 84%)
CMYKcmyk(0%, 17.4%, 74.2%, 16.5%)
CIE-LABlab(73.20, 1.29, 63.29)
CIE-LCHlch(73.20, 63.30, 88.84°)
OKLaboklab(76.96% -0.0029 0.1394)
OKLCHoklch(76.96% 0.139 91.2)
XYZxyz(43.6580, 45.4753, 10.0918)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B037 #375CD5
analogous
#D56137 #D5B037 #ABD537
triadic
#D5B037 #37D5B0 #B037D5
tetradic
#D5B037 #37D561 #375CD5 #D537AB
square
#D5B037 #37D561 #375CD5 #D537AB
split-complementary
#D5B037 #37ABD5 #6137D5
monochromatic
#786219 #AB8B24 #D5B037 #E0C46A #EAD89C

Accessibility & contrast

On white

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

On black

10.09
#D5B037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B037
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B037#FFFFFF#000000##000000
##D5B0371.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#E7A198
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b037;
/* rgb */ color: rgb(213, 176, 55);
/* oklch */ color: oklch(77.0% 0.139 91.2);
Tailwind
colors: {
  custom: {
    50: '#e6c776',
    500: '#d5b037',
    950: '#000000',
  },
}
SCSS
$custom: #d5b037;
$custom-light: #e6c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b037",
  "rgb": {
    "r": 213,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 45.949,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76955,
    "c": 0.13944,
    "h": 91.2
  },
  "luminance": 0.45473
}

Semantic roles & 50–950 ramp

primary
#D5B037
secondary
#92A2D6
accent
#67E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B037

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

Preview Lab → · Contrast checker → · Palette generator →

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