#D5B137#D5B137

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

Color values

HEX#D5B137
RGBrgb(213, 177, 55)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 74%, 84%)
CMYKcmyk(0%, 16.9%, 74.2%, 16.5%)
CIE-LABlab(73.46, 0.76, 63.54)
CIE-LCHlch(73.46, 63.54, 89.32°)
OKLaboklab(77.16% -0.0044 0.1399)
OKLCHoklch(77.16% 0.14 91.8)
XYZxyz(43.8548, 45.8689, 10.1574)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B137 #375BD5
analogous
#D56237 #D5B137 #AAD537
triadic
#D5B137 #37D5B1 #B137D5
tetradic
#D5B137 #37D562 #375BD5 #D537AA
square
#D5B137 #37D562 #375BD5 #D537AA
split-complementary
#D5B137 #37AAD5 #6237D5
monochromatic
#786319 #AB8C24 #D5B137 #E0C56A #EAD89C

Accessibility & contrast

On white

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

On black

10.17
#D5B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B137
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B137#FFFFFF#000000##000000
##D5B1371.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b137;
/* rgb */ color: rgb(213, 177, 55);
/* oklch */ color: oklch(77.2% 0.140 91.8);
Tailwind
colors: {
  custom: {
    50: '#e6c776',
    500: '#d5b137',
    950: '#000000',
  },
}
SCSS
$custom: #d5b137;
$custom-light: #e6c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b137",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 46.329,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.14,
    "h": 91.8
  },
  "luminance": 0.45866
}

Semantic roles & 50–950 ramp

primary
#D5B137
secondary
#92A1D6
accent
#66E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B137

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

Preview Lab → · Contrast checker → · Palette generator →

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