#B9A737#B9A737

#B9A737 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.130 H 100.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B9A737
RGBrgb(185, 167, 55)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 73%)
CMYKcmyk(0%, 9.7%, 70.3%, 27.5%)
CIE-LABlab(68.19, -6.16, 57.47)
CIE-LCHlch(68.19, 57.80, 96.11°)
OKLaboklab(72.37% -0.0225 0.1282)
OKLCHoklch(72.37% 0.13 100)
XYZxyz(34.5175, 38.2292, 9.1745)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A737 #3749B9
analogous
#B96637 #B9A737 #8AB937
triadic
#B9A737 #37B9A7 #A737B9
tetradic
#B9A737 #37B966 #3749B9 #B9378A
square
#B9A737 #37B966 #3749B9 #B9378A
split-complementary
#B9A737 #378AB9 #6637B9
monochromatic
#5B521B #8A7C29 #B9A737 #CFBF5E #DDD28D

Accessibility & contrast

On white

2.43
#B9A737 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B9A737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A737
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A737#FFFFFF#000000##000000
##B9A7371.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A226
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#C79B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a737;
/* rgb */ color: rgb(185, 167, 55);
/* oklch */ color: oklch(72.4% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#d2c075',
    500: '#b9a737',
    950: '#000000',
  },
}
SCSS
$custom: #b9a737;
$custom-light: #d2c075;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a737",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 55
  },
  "hsl": {
    "h": 51.692,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.13013,
    "h": 100
  },
  "luminance": 0.38228
}

Semantic roles & 50–950 ramp

primary
#B9A737
secondary
#848DC8
accent
#5FDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A737

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

Preview Lab → · Contrast checker → · Palette generator →

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