#B9B33B#B9B33B

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

Color values

HEX#B9B33B
RGBrgb(185, 179, 59)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 68%, 73%)
CMYKcmyk(0%, 3.2%, 68.1%, 27.5%)
CIE-LABlab(71.47, -12.20, 59.19)
CIE-LCHlch(71.47, 60.43, 101.65°)
OKLaboklab(74.98% -0.0392 0.1325)
OKLCHoklch(74.98% 0.138 106.5)
XYZxyz(36.9185, 42.8715, 10.4671)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B33B #3B41B9
analogous
#B9743B #B9B33B #80B93B
triadic
#B9B33B #3BB9B3 #B33BB9
tetradic
#B9B33B #3BB974 #3B41B9 #B93B80
square
#B9B33B #3BB974 #3B41B9 #B93B80
split-complementary
#B9B33B #3B80B9 #743BB9
monochromatic
#5C591D #8B862C #B9B33B #CDC864 #DCD992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B33B#FFFFFF#000000##000000
##B9B33B1.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)
#C2AC29
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b33b;
/* rgb */ color: rgb(185, 179, 59);
/* oklch */ color: oklch(75.0% 0.138 106.5);
Tailwind
colors: {
  custom: {
    50: '#d1c978',
    500: '#b9b33b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b33b;
$custom-light: #d1c978;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b33b",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 57.143,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.13816,
    "h": 106.5
  },
  "luminance": 0.4287
}

Semantic roles & 50–950 ramp

primary
#B9B33B
secondary
#888BC7
accent
#53DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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