#B9B536#B9B536

#B9B536 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.4% C 0.143 H 107.6°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B9B536
RGBrgb(185, 181, 54)
HSLhsl(58, 55%, 47%)
HSVhsv(58, 71%, 73%)
CMYKcmyk(0%, 2.2%, 70.8%, 27.5%)
CIE-LABlab(71.98, -13.49, 61.60)
CIE-LCHlch(71.98, 63.06, 102.35°)
OKLaboklab(75.38% -0.0433 0.1367)
OKLCHoklch(75.38% 0.143 107.6)
XYZxyz(37.1987, 43.6296, 9.9512)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B536 #363AB9
analogous
#B97436 #B9B536 #7CB936
triadic
#B9B536 #36B9B5 #B536B9
tetradic
#B9B536 #36B974 #363AB9 #B9367C
square
#B9B536 #36B974 #363AB9 #B9367C
split-complementary
#B9B536 #367CB9 #7436B9
monochromatic
#5A581A #8A8728 #B9B536 #D0CC5D #DDDB8C

Accessibility & contrast

On white

2.16
#B9B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B9B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B536
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B536#FFFFFF#000000##000000
##B9B5361.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE20
Deuteranopia (green-blind)
#C6B33F
Tritanopia (blue-blind)
#C6A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b536;
/* rgb */ color: rgb(185, 181, 54);
/* oklch */ color: oklch(75.4% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca75',
    500: '#b9b536',
    950: '#000000',
  },
}
SCSS
$custom: #b9b536;
$custom-light: #d1ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b536",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 58.168,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75382,
    "c": 0.14341,
    "h": 107.6
  },
  "luminance": 0.43628
}

Semantic roles & 50–950 ramp

primary
#B9B536
secondary
#8385C8
accent
#4EDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B536

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

Preview Lab → · Contrast checker → · Palette generator →

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