#B9B32E#B9B32E

#B9B32E 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#B9B32E
RGBrgb(185, 179, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 73%)
CMYKcmyk(0%, 3.2%, 75.1%, 27.5%)
CIE-LABlab(71.39, -12.83, 63.85)
CIE-LCHlch(71.39, 65.12, 101.36°)
OKLaboklab(74.89% -0.0422 0.14)
OKLCHoklch(74.89% 0.146 106.8)
XYZxyz(36.6223, 42.7531, 8.9073)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B32E #2E34B9
analogous
#B96D2E #B9B32E #79B92E
triadic
#B9B32E #2EB9B3 #B32EB9
tetradic
#B9B32E #2EB96D #2E34B9 #B92E79
square
#B9B32E #2EB96D #2E34B9 #B92E79
split-complementary
#B9B32E #2E79B9 #6D2EB9
monochromatic
#575416 #888422 #B9B32E #D4CE51 #E0DC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B32E#FFFFFF#000000##000000
##B9B32E1.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)
#C3AC10
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b32e;
/* rgb */ color: rgb(185, 179, 46);
/* oklch */ color: oklch(74.9% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2c971',
    500: '#b9b32e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b32e;
$custom-light: #d2c971;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b32e",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 57.41,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74894,
    "c": 0.14624,
    "h": 106.8
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#B9B32E
secondary
#7A7DC9
accent
#4BE344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B32E

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

Preview Lab → · Contrast checker → · Palette generator →

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