#B9B32F#B9B32F

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

Color values

HEX#B9B32F
RGBrgb(185, 179, 47)
HSLhsl(57, 59%, 45%)
HSVhsv(57, 75%, 73%)
CMYKcmyk(0%, 3.2%, 74.6%, 27.5%)
CIE-LABlab(71.39, -12.79, 63.52)
CIE-LCHlch(71.39, 64.79, 101.38°)
OKLaboklab(74.9% -0.042 0.1395)
OKLCHoklch(74.9% 0.146 106.8)
XYZxyz(36.6423, 42.7610, 9.0123)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B32F #2F35B9
analogous
#B96E2F #B9B32F #7AB92F
triadic
#B9B32F #2FB9B3 #B32FB9
tetradic
#B9B32F #2FB96E #2F35B9 #B92F7A
square
#B9B32F #2FB96E #2F35B9 #B92F7A
split-complementary
#B9B32F #2F7AB9 #6E2FB9
monochromatic
#575516 #888423 #B9B32F #D3CD52 #DFDB83

Accessibility & contrast

On white

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

On black

9.55
#B9B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B32F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B32F#FFFFFF#000000##000000
##B9B32F1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b32f;
/* rgb */ color: rgb(185, 179, 47);
/* oklch */ color: oklch(74.9% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2c972',
    500: '#b9b32f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b32f;
$custom-light: #d2c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b32f",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 57.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.749,
    "c": 0.14568,
    "h": 106.8
  },
  "luminance": 0.4276
}

Semantic roles & 50–950 ramp

primary
#B9B32F
secondary
#7B7FC9
accent
#4CE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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