#B9B33A#B9B33A

#B9B33A is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.139 H 106.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B9B33A
RGBrgb(185, 179, 58)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 69%, 73%)
CMYKcmyk(0%, 3.2%, 68.6%, 27.5%)
CIE-LABlab(71.46, -12.26, 59.57)
CIE-LCHlch(71.46, 60.82, 101.63°)
OKLaboklab(74.98% -0.0394 0.1331)
OKLCHoklch(74.98% 0.139 106.5)
XYZxyz(36.8928, 42.8613, 10.3319)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B33A #3A40B9
analogous
#B9733A #B9B33A #80B93A
triadic
#B9B33A #3AB9B3 #B33AB9
tetradic
#B9B33A #3AB973 #3A40B9 #B93A80
square
#B9B33A #3AB973 #3A40B9 #B93A80
split-complementary
#B9B33A #3A80B9 #733AB9
monochromatic
#5C591D #8A862B #B9B33A #CEC962 #DCD991

Accessibility & contrast

On white

2.19
#B9B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B9B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B33A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B33A#FFFFFF#000000##000000
##B9B33A1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b33a;
/* rgb */ color: rgb(185, 179, 58);
/* oklch */ color: oklch(75.0% 0.139 106.5);
Tailwind
colors: {
  custom: {
    50: '#d1c977',
    500: '#b9b33a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b33a;
$custom-light: #d1c977;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b33a",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 57.165,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74976,
    "c": 0.13884,
    "h": 106.5
  },
  "luminance": 0.4286
}

Semantic roles & 50–950 ramp

primary
#B9B33A
secondary
#878AC7
accent
#53DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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