#B9B32C#B9B32C

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

Color values

HEX#B9B32C
RGBrgb(185, 179, 44)
HSLhsl(57, 62%, 45%)
HSVhsv(57, 76%, 73%)
CMYKcmyk(0%, 3.2%, 76.2%, 27.5%)
CIE-LABlab(71.38, -12.91, 64.49)
CIE-LCHlch(71.38, 65.77, 101.32°)
OKLaboklab(74.88% -0.0426 0.141)
OKLCHoklch(74.88% 0.147 106.8)
XYZxyz(36.5838, 42.7377, 8.7045)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B32C #2C32B9
analogous
#B96D2C #B9B32C #78B92C
triadic
#B9B32C #2CB9B3 #B32CB9
tetradic
#B9B32C #2CB96D #2C32B9 #B92C78
square
#B9B32C #2CB96D #2C32B9 #B92C78
split-complementary
#B9B32C #2C78B9 #6D2CB9
monochromatic
#565314 #888320 #B9B32C #D5CF4D #E1DC7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B32C#FFFFFF#000000##000000
##B9B32C1.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)
#C3AC0A
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b32c;
/* rgb */ color: rgb(185, 179, 44);
/* oklch */ color: oklch(74.9% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2c970',
    500: '#b9b32c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b32c;
$custom-light: #d2c970;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b32c",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 44
  },
  "hsl": {
    "h": 57.447,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.14732,
    "h": 106.8
  },
  "luminance": 0.42736
}

Semantic roles & 50–950 ramp

primary
#B9B32C
secondary
#787BC9
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B32C

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

Preview Lab → · Contrast checker → · Palette generator →

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