#D9B537#D9B537

#D9B537 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.143 H 92.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D9B537
RGBrgb(217, 181, 55)
HSLhsl(47, 68%, 53%)
HSVhsv(47, 75%, 85%)
CMYKcmyk(0%, 16.6%, 74.7%, 14.9%)
CIE-LABlab(74.87, 0.38, 65.02)
CIE-LCHlch(74.87, 65.03, 89.66°)
OKLaboklab(78.36% -0.0057 0.1429)
OKLCHoklch(78.36% 0.143 92.3)
XYZxyz(45.8313, 48.0781, 10.4797)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B537 #375BD9
analogous
#D96437 #D9B537 #ACD937
triadic
#D9B537 #37D9B5 #B537D9
tetradic
#D9B537 #37D964 #375BD9 #D937AC
square
#D9B537 #37D964 #375BD9 #D937AC
split-complementary
#D9B537 #37ACD9 #6437D9
monochromatic
#7E6718 #B19122 #D9B537 #E3C86A #EDDB9E

Accessibility & contrast

On white

1.98
#D9B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D9B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B537
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B537#FFFFFF#000000##000000
##D9B5371.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B221
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#EBA69C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b537;
/* rgb */ color: rgb(217, 181, 55);
/* oklch */ color: oklch(78.4% 0.143 92.3);
Tailwind
colors: {
  custom: {
    50: '#e9ca77',
    500: '#d9b537',
    950: '#000000',
  },
}
SCSS
$custom: #d9b537;
$custom-light: #e9ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b537",
  "rgb": {
    "r": 217,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 46.667,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78363,
    "c": 0.14304,
    "h": 92.3
  },
  "luminance": 0.48075
}

Semantic roles & 50–950 ramp

primary
#D9B537
secondary
#93A3D9
accent
#64EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B537

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

Preview Lab → · Contrast checker → · Palette generator →

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