#B9B734#B9B734

#B9B734 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.147 H 108.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#B9B734
RGBrgb(185, 183, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 73%)
CMYKcmyk(0%, 1.1%, 71.9%, 27.5%)
CIE-LABlab(72.52, -14.61, 62.84)
CIE-LCHlch(72.52, 64.52, 103.09°)
OKLaboklab(75.81% -0.0467 0.139)
OKLCHoklch(75.81% 0.147 108.6)
XYZxyz(37.5623, 44.4304, 9.8454)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B734 #3436B9
analogous
#B97534 #B9B734 #79B934
triadic
#B9B734 #34B9B7 #B734B9
tetradic
#B9B734 #34B975 #3436B9 #B93479
square
#B9B734 #34B975 #3436B9 #B93479
split-complementary
#B9B734 #3479B9 #7534B9
monochromatic
#595819 #898827 #B9B734 #D1CF5A #DEDD89

Accessibility & contrast

On white

2.12
#B9B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#B9B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B734
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B734#FFFFFF#000000##000000
##B9B7341.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b734;
/* rgb */ color: rgb(185, 183, 52);
/* oklch */ color: oklch(75.8% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cc75',
    500: '#b9b734',
    950: '#000000',
  },
}
SCSS
$custom: #b9b734;
$custom-light: #d2cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b734",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 59.098,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75805,
    "c": 0.1466,
    "h": 108.6
  },
  "luminance": 0.44429
}

Semantic roles & 50–950 ramp

primary
#B9B734
secondary
#8182C8
accent
#4BDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B734

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

Preview Lab → · Contrast checker → · Palette generator →

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