#B9B134#B9B134

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

Color values

HEX#B9B134
RGBrgb(185, 177, 52)
HSLhsl(56, 56%, 46%)
HSVhsv(56, 72%, 73%)
CMYKcmyk(0%, 4.3%, 71.9%, 27.5%)
CIE-LABlab(70.88, -11.53, 61.26)
CIE-LCHlch(70.88, 62.34, 100.66°)
OKLaboklab(74.5% -0.038 0.1356)
OKLCHoklch(74.5% 0.141 105.7)
XYZxyz(36.3510, 42.0079, 9.4417)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B134 #343CB9
analogous
#B96F34 #B9B134 #7FB934
triadic
#B9B134 #34B9B1 #B134B9
tetradic
#B9B134 #34B96F #343CB9 #B9347F
square
#B9B134 #34B96F #343CB9 #B9347F
split-complementary
#B9B134 #347FB9 #6F34B9
monochromatic
#595619 #898327 #B9B134 #D1C95A #DED989

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B134#FFFFFF#000000##000000
##B9B1341.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)
#C0AB1E
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b134;
/* rgb */ color: rgb(185, 177, 52);
/* oklch */ color: oklch(74.5% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#d2c874',
    500: '#b9b134',
    950: '#000000',
  },
}
SCSS
$custom: #b9b134;
$custom-light: #d2c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b134",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 56.391,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.14087,
    "h": 105.7
  },
  "luminance": 0.42007
}

Semantic roles & 50–950 ramp

primary
#B9B134
secondary
#8185C8
accent
#51DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B134

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

Preview Lab → · Contrast checker → · Palette generator →

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