#B9B140#B9B140

#B9B140 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.133 H 105.3°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B9B140
RGBrgb(185, 177, 64)
HSLhsl(56, 49%, 49%)
HSVhsv(56, 65%, 73%)
CMYKcmyk(0%, 4.3%, 65.4%, 27.5%)
CIE-LABlab(70.96, -10.88, 56.64)
CIE-LCHlch(70.96, 57.68, 100.87°)
OKLaboklab(74.59% -0.0349 0.1279)
OKLCHoklch(74.59% 0.133 105.3)
XYZxyz(36.6565, 42.1300, 11.0505)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B140 #4048B9
analogous
#B97540 #B9B140 #85B940
triadic
#B9B140 #40B9B1 #B140B9
tetradic
#B9B140 #40B975 #4048B9 #B94085
square
#B9B140 #40B975 #4048B9 #B94085
split-complementary
#B9B140 #4085B9 #7540B9
monochromatic
#5E5A21 #8C8530 #B9B140 #CCC56B #DBD798

Accessibility & contrast

On white

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

On black

9.43
#B9B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B140
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B140#FFFFFF#000000##000000
##B9B1401.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#C6A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b140;
/* rgb */ color: rgb(185, 177, 64);
/* oklch */ color: oklch(74.6% 0.133 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c87b',
    500: '#b9b140',
    950: '#000000',
  },
}
SCSS
$custom: #b9b140;
$custom-light: #d1c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b140",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 56.033,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74592,
    "c": 0.13261,
    "h": 105.3
  },
  "luminance": 0.42129
}

Semantic roles & 50–950 ramp

primary
#B9B140
secondary
#8E91C7
accent
#59D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B140

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

Preview Lab → · Contrast checker → · Palette generator →

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