#B9B32D#B9B32D

#B9B32D 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#B9B32D
RGBrgb(185, 179, 45)
HSLhsl(57, 61%, 45%)
HSVhsv(57, 76%, 73%)
CMYKcmyk(0%, 3.2%, 75.7%, 27.5%)
CIE-LABlab(71.38, -12.87, 64.17)
CIE-LCHlch(71.38, 65.45, 101.34°)
OKLaboklab(74.89% -0.0424 0.1405)
OKLCHoklch(74.89% 0.147 106.8)
XYZxyz(36.6028, 42.7453, 8.8047)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B32D #2D33B9
analogous
#B96D2D #B9B32D #79B92D
triadic
#B9B32D #2DB9B3 #B32DB9
tetradic
#B9B32D #2DB96D #2D33B9 #B92D79
square
#B9B32D #2DB96D #2D33B9 #B92D79
split-complementary
#B9B32D #2D79B9 #6D2DB9
monochromatic
#575415 #888321 #B9B32D #D4CE4F #E0DC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b9b32d;
/* rgb */ color: rgb(185, 179, 45);
/* oklch */ color: oklch(74.9% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#d2c971',
    500: '#b9b32d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b32d;
$custom-light: #d2c971;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b32d",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 45
  },
  "hsl": {
    "h": 57.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74888,
    "c": 0.14679,
    "h": 106.8
  },
  "luminance": 0.42744
}

Semantic roles & 50–950 ramp

primary
#B9B32D
secondary
#797CC9
accent
#4BE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B32D

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

Preview Lab → · Contrast checker → · Palette generator →

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