#B9B137#B9B137

#B9B137 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.139 H 105.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B9B137
RGBrgb(185, 177, 55)
HSLhsl(56, 54%, 47%)
HSVhsv(56, 70%, 73%)
CMYKcmyk(0%, 4.3%, 70.3%, 27.5%)
CIE-LABlab(70.90, -11.38, 60.16)
CIE-LCHlch(70.90, 61.23, 100.71°)
OKLaboklab(74.52% -0.0373 0.1339)
OKLCHoklch(74.52% 0.139 105.6)
XYZxyz(36.4208, 42.0357, 9.8089)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B137 #373FB9
analogous
#B97037 #B9B137 #80B937
triadic
#B9B137 #37B9B1 #B137B9
tetradic
#B9B137 #37B970 #373FB9 #B93780
square
#B9B137 #37B970 #373FB9 #B93780
split-complementary
#B9B137 #3780B9 #7037B9
monochromatic
#5B571B #8A8429 #B9B137 #CFC85E #DDD88D

Accessibility & contrast

On white

2.23
#B9B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B9B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B137
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B137#FFFFFF#000000##000000
##B9B1371.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB23
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b137;
/* rgb */ color: rgb(185, 177, 55);
/* oklch */ color: oklch(74.5% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#d1c876',
    500: '#b9b137',
    950: '#000000',
  },
}
SCSS
$custom: #b9b137;
$custom-light: #d1c876;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b137",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 56.308,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74519,
    "c": 0.13895,
    "h": 105.6
  },
  "luminance": 0.42034
}

Semantic roles & 50–950 ramp

primary
#B9B137
secondary
#8488C8
accent
#53DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B137

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

Preview Lab → · Contrast checker → · Palette generator →

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