#B9B139#B9B139

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

Color values

HEX#B9B139
RGBrgb(185, 177, 57)
HSLhsl(56, 53%, 47%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.3%, 69.2%, 27.5%)
CIE-LABlab(70.91, -11.28, 59.41)
CIE-LCHlch(70.91, 60.47, 100.75°)
OKLaboklab(74.53% -0.0368 0.1326)
OKLCHoklch(74.53% 0.138 105.5)
XYZxyz(36.4697, 42.0553, 10.0665)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B139 #3941B9
analogous
#B97139 #B9B139 #81B939
triadic
#B9B139 #39B9B1 #B139B9
tetradic
#B9B139 #39B971 #3941B9 #B93981
square
#B9B139 #39B971 #3941B9 #B93981
split-complementary
#B9B139 #3981B9 #7139B9
monochromatic
#5B571C #8A842B #B9B139 #CEC761 #DDD890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B139#FFFFFF#000000##000000
##B9B1391.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)
#C0AB27
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b139;
/* rgb */ color: rgb(185, 177, 57);
/* oklch */ color: oklch(74.5% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c877',
    500: '#b9b139',
    950: '#000000',
  },
}
SCSS
$custom: #b9b139;
$custom-light: #d1c877;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b139",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 56.25,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74534,
    "c": 0.13762,
    "h": 105.5
  },
  "luminance": 0.42054
}

Semantic roles & 50–950 ramp

primary
#B9B139
secondary
#868AC8
accent
#55DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B139

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

Preview Lab → · Contrast checker → · Palette generator →

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