#B9B135#B9B135

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

Color values

HEX#B9B135
RGBrgb(185, 177, 53)
HSLhsl(56, 55%, 47%)
HSVhsv(56, 71%, 73%)
CMYKcmyk(0%, 4.3%, 71.4%, 27.5%)
CIE-LABlab(70.88, -11.48, 60.90)
CIE-LCHlch(70.88, 61.97, 100.68°)
OKLaboklab(74.51% -0.0378 0.1351)
OKLCHoklch(74.51% 0.14 105.6)
XYZxyz(36.3738, 42.0170, 9.5616)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B135 #353DB9
analogous
#B96F35 #B9B135 #7FB935
triadic
#B9B135 #35B9B1 #B135B9
tetradic
#B9B135 #35B96F #353DB9 #B9357F
square
#B9B135 #35B96F #353DB9 #B9357F
split-complementary
#B9B135 #357FB9 #6F35B9
monochromatic
#5A561A #898327 #B9B135 #D0C95B #DED98B

Accessibility & contrast

On white

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

On black

9.40
#B9B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B135
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B135#FFFFFF#000000##000000
##B9B1351.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b135;
/* rgb */ color: rgb(185, 177, 53);
/* oklch */ color: oklch(74.5% 0.140 105.6);
Tailwind
colors: {
  custom: {
    50: '#d2c875',
    500: '#b9b135',
    950: '#000000',
  },
}
SCSS
$custom: #b9b135;
$custom-light: #d2c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b135",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 56.364,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.14023,
    "h": 105.6
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#B9B135
secondary
#8286C8
accent
#52DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B135

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

Preview Lab → · Contrast checker → · Palette generator →

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