#B9B337#B9B337

#B9B337 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.141 H 106.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B9B337
RGBrgb(185, 179, 55)
HSLhsl(57, 54%, 47%)
HSVhsv(57, 70%, 73%)
CMYKcmyk(0%, 3.2%, 70.3%, 27.5%)
CIE-LABlab(71.44, -12.41, 60.70)
CIE-LCHlch(71.44, 61.96, 101.56°)
OKLaboklab(74.95% -0.0402 0.135)
OKLCHoklch(74.95% 0.141 106.6)
XYZxyz(36.8187, 42.8316, 9.9416)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B337 #373DB9
analogous
#B97237 #B9B337 #7EB937
triadic
#B9B337 #37B9B3 #B337B9
tetradic
#B9B337 #37B972 #373DB9 #B9377E
square
#B9B337 #37B972 #373DB9 #B9377E
split-complementary
#B9B337 #377EB9 #7237B9
monochromatic
#5B581B #8A8529 #B9B337 #CFCA5E #DDD98D

Accessibility & contrast

On white

2.20
#B9B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B9B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B337
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B337#FFFFFF#000000##000000
##B9B3371.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b337;
/* rgb */ color: rgb(185, 179, 55);
/* oklch */ color: oklch(75.0% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#d1c976',
    500: '#b9b337',
    950: '#000000',
  },
}
SCSS
$custom: #b9b337;
$custom-light: #d1c976;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b337",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 57.231,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74953,
    "c": 0.14085,
    "h": 106.6
  },
  "luminance": 0.4283
}

Semantic roles & 50–950 ramp

primary
#B9B337
secondary
#8487C8
accent
#51DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B337

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

Preview Lab → · Contrast checker → · Palette generator →

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