#B9B33F#B9B33F

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

Color values

HEX#B9B33F
RGBrgb(185, 179, 63)
HSLhsl(57, 49%, 49%)
HSVhsv(57, 66%, 73%)
CMYKcmyk(0%, 3.2%, 65.9%, 27.5%)
CIE-LABlab(71.50, -11.97, 57.61)
CIE-LCHlch(71.50, 58.84, 101.74°)
OKLaboklab(75.02% -0.0381 0.1298)
OKLCHoklch(75.02% 0.135 106.4)
XYZxyz(37.0262, 42.9146, 11.0346)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B33F #3F45B9
analogous
#B9763F #B9B33F #82B93F
triadic
#B9B33F #3FB9B3 #B33FB9
tetradic
#B9B33F #3FB976 #3F45B9 #B93F82
square
#B9B33F #3FB976 #3F45B9 #B93F82
split-complementary
#B9B33F #3F82B9 #763FB9
monochromatic
#5E5B20 #8B872F #B9B33F #CCC769 #DCD897

Accessibility & contrast

On white

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

On black

9.58
#B9B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B33F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B33F#FFFFFF#000000##000000
##B9B33F1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b33f;
/* rgb */ color: rgb(185, 179, 63);
/* oklch */ color: oklch(75.0% 0.135 106.4);
Tailwind
colors: {
  custom: {
    50: '#d1c97a',
    500: '#b9b33f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b33f;
$custom-light: #d1c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b33f",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 57.049,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.1353,
    "h": 106.4
  },
  "luminance": 0.42913
}

Semantic roles & 50–950 ramp

primary
#B9B33F
secondary
#8D8FC7
accent
#56D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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