#B9B437#B9B437

#B9B437 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.142 H 107.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B9B437
RGBrgb(185, 180, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 73%)
CMYKcmyk(0%, 2.7%, 70.3%, 27.5%)
CIE-LABlab(71.71, -12.93, 60.97)
CIE-LCHlch(71.71, 62.32, 101.97°)
OKLaboklab(75.17% -0.0416 0.1356)
OKLCHoklch(75.17% 0.142 107.1)
XYZxyz(37.0198, 43.2339, 10.0086)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B437 #373CB9
analogous
#B97337 #B9B437 #7DB937
triadic
#B9B437 #37B9B4 #B437B9
tetradic
#B9B437 #37B973 #373CB9 #B9377D
square
#B9B437 #37B973 #373CB9 #B9377D
split-complementary
#B9B437 #377DB9 #7337B9
monochromatic
#5B581B #8A8629 #B9B437 #CFCB5E #DDDA8D

Accessibility & contrast

On white

2.18
#B9B437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B9B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B437
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B437#FFFFFF#000000##000000
##B9B4371.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD22
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#C6A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b437;
/* rgb */ color: rgb(185, 180, 55);
/* oklch */ color: oklch(75.2% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca76',
    500: '#b9b437',
    950: '#000000',
  },
}
SCSS
$custom: #b9b437;
$custom-light: #d1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b437",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 57.692,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.1418,
    "h": 107.1
  },
  "luminance": 0.43233
}

Semantic roles & 50–950 ramp

primary
#B9B437
secondary
#8487C8
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B437

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

Preview Lab → · Contrast checker → · Palette generator →

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