#B9B336#B9B336

#B9B336 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.141 H 106.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B9B336
RGBrgb(185, 179, 54)
HSLhsl(57, 55%, 47%)
HSVhsv(57, 71%, 73%)
CMYKcmyk(0%, 3.2%, 70.8%, 27.5%)
CIE-LABlab(71.43, -12.46, 61.07)
CIE-LCHlch(71.43, 62.33, 101.54°)
OKLaboklab(74.95% -0.0404 0.1356)
OKLCHoklch(74.95% 0.141 106.6)
XYZxyz(36.7950, 42.8221, 9.8166)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B336 #363CB9
analogous
#B97236 #B9B336 #7EB936
triadic
#B9B336 #36B9B3 #B336B9
tetradic
#B9B336 #36B972 #363CB9 #B9367E
square
#B9B336 #36B972 #363CB9 #B9367E
split-complementary
#B9B336 #367EB9 #7236B9
monochromatic
#5A571A #8A8528 #B9B336 #D0CA5D #DDDA8C

Accessibility & contrast

On white

2.20
#B9B336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B9B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B336
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B336#FFFFFF#000000##000000
##B9B3361.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b336;
/* rgb */ color: rgb(185, 179, 54);
/* oklch */ color: oklch(74.9% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#d1c975',
    500: '#b9b336',
    950: '#000000',
  },
}
SCSS
$custom: #b9b336;
$custom-light: #d1c975;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b336",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 57.252,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74946,
    "c": 0.14149,
    "h": 106.6
  },
  "luminance": 0.42821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B336

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

Preview Lab → · Contrast checker → · Palette generator →

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