#B9B535#B9B535

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

Color values

HEX#B9B535
RGBrgb(185, 181, 53)
HSLhsl(58, 55%, 47%)
HSVhsv(58, 71%, 73%)
CMYKcmyk(0%, 2.2%, 71.4%, 27.5%)
CIE-LABlab(71.97, -13.54, 61.96)
CIE-LCHlch(71.97, 63.42, 102.33°)
OKLaboklab(75.38% -0.0436 0.1373)
OKLCHoklch(75.38% 0.144 107.6)
XYZxyz(37.1755, 43.6203, 9.8288)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B535 #3539B9
analogous
#B97335 #B9B535 #7BB935
triadic
#B9B535 #35B9B5 #B535B9
tetradic
#B9B535 #35B973 #3539B9 #B9357B
square
#B9B535 #35B973 #3539B9 #B9357B
split-complementary
#B9B535 #357BB9 #7335B9
monochromatic
#5A581A #898627 #B9B535 #D0CD5B #DEDB8B

Accessibility & contrast

On white

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

On black

9.72
#B9B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B535
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B535#FFFFFF#000000##000000
##B9B5351.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b535;
/* rgb */ color: rgb(185, 181, 53);
/* oklch */ color: oklch(75.4% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#d2ca75',
    500: '#b9b535',
    950: '#000000',
  },
}
SCSS
$custom: #b9b535;
$custom-light: #d2ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b535",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 58.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75375,
    "c": 0.14404,
    "h": 107.6
  },
  "luminance": 0.43619
}

Semantic roles & 50–950 ramp

primary
#B9B535
secondary
#8284C8
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B535

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

Preview Lab → · Contrast checker → · Palette generator →

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