#B9A537#B9A537

#B9A537 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.129 H 98.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B9A537
RGBrgb(185, 165, 55)
HSLhsl(51, 54%, 47%)
HSVhsv(51, 70%, 73%)
CMYKcmyk(0%, 10.8%, 70.3%, 27.5%)
CIE-LABlab(67.65, -5.10, 56.93)
CIE-LCHlch(67.65, 57.16, 95.12°)
OKLaboklab(71.94% -0.0195 0.127)
OKLCHoklch(71.94% 0.129 98.7)
XYZxyz(34.1539, 37.5020, 9.0533)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A537 #374BB9
analogous
#B96437 #B9A537 #8CB937
triadic
#B9A537 #37B9A5 #A537B9
tetradic
#B9A537 #37B964 #374BB9 #B9378C
square
#B9A537 #37B964 #374BB9 #B9378C
split-complementary
#B9A537 #378CB9 #6437B9
monochromatic
#5B511B #8A7B29 #B9A537 #CFBE5E #DDD18D

Accessibility & contrast

On white

2.47
#B9A537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B9A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A537
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A537#FFFFFF#000000##000000
##B9A5371.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A127
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#C7998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b9a537;
/* rgb */ color: rgb(185, 165, 55);
/* oklch */ color: oklch(71.9% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#d2bf74',
    500: '#b9a537',
    950: '#000000',
  },
}
SCSS
$custom: #b9a537;
$custom-light: #d2bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a537",
  "rgb": {
    "r": 185,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 50.769,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71942,
    "c": 0.12852,
    "h": 98.7
  },
  "luminance": 0.375
}

Semantic roles & 50–950 ramp

primary
#B9A537
secondary
#848FC8
accent
#61DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A537

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

Preview Lab → · Contrast checker → · Palette generator →

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