#B9A137#B9A137

#B9A137 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.125 H 96.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B9A137
RGBrgb(185, 161, 55)
HSLhsl(49, 54%, 47%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 13%, 70.3%, 27.5%)
CIE-LABlab(66.58, -2.97, 55.86)
CIE-LCHlch(66.58, 55.94, 93.04°)
OKLaboklab(71.1% -0.0134 0.1248)
OKLCHoklch(71.1% 0.125 96.1)
XYZxyz(33.4437, 36.0816, 8.8166)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A137 #374FB9
analogous
#B96037 #B9A137 #90B937
triadic
#B9A137 #37B9A1 #A137B9
tetradic
#B9A137 #37B960 #374FB9 #B93790
square
#B9A137 #37B960 #374FB9 #B93790
split-complementary
#B9A137 #3790B9 #6037B9
monochromatic
#5B4F1B #8A7829 #B9A137 #CFBA5E #DDCE8D

Accessibility & contrast

On white

2.56
#B9A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B9A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A137
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A137#FFFFFF#000000##000000
##B9A1371.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E28
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C8958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b9a137;
/* rgb */ color: rgb(185, 161, 55);
/* oklch */ color: oklch(71.1% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#d2bc74',
    500: '#b9a137',
    950: '#000000',
  },
}
SCSS
$custom: #b9a137;
$custom-light: #d2bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a137",
  "rgb": {
    "r": 185,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 48.923,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.12548,
    "h": 96.1
  },
  "luminance": 0.3608
}

Semantic roles & 50–950 ramp

primary
#B9A137
secondary
#8491C8
accent
#65DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B9A137

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

Preview Lab → · Contrast checker → · Palette generator →

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