#B9B537#B9B537

#B9B537 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#B9B537
RGBrgb(185, 181, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 73%)
CMYKcmyk(0%, 2.2%, 70.3%, 27.5%)
CIE-LABlab(71.99, -13.44, 61.24)
CIE-LCHlch(71.99, 62.69, 102.38°)
OKLaboklab(75.39% -0.0431 0.1361)
OKLCHoklch(75.39% 0.143 107.6)
XYZxyz(37.2224, 43.6391, 10.0761)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B537 #373BB9
analogous
#B97437 #B9B537 #7CB937
triadic
#B9B537 #37B9B5 #B537B9
tetradic
#B9B537 #37B974 #373BB9 #B9377C
square
#B9B537 #37B974 #373BB9 #B9377C
split-complementary
#B9B537 #377CB9 #7437B9
monochromatic
#5B591B #8A8729 #B9B537 #CFCC5E #DDDB8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B537#FFFFFF#000000##000000
##B9B5371.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)
#C4AE22
Deuteranopia (green-blind)
#C6B340
Tritanopia (blue-blind)
#C6A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b537;
/* rgb */ color: rgb(185, 181, 55);
/* oklch */ color: oklch(75.4% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca76',
    500: '#b9b537',
    950: '#000000',
  },
}
SCSS
$custom: #b9b537;
$custom-light: #d1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b537",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 58.154,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75389,
    "c": 0.14278,
    "h": 107.6
  },
  "luminance": 0.43638
}

Semantic roles & 50–950 ramp

primary
#B9B537
secondary
#8486C8
accent
#4FDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B537

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

Preview Lab → · Contrast checker → · Palette generator →

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