#B1AA32#B1AA32

#B1AA32 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.137 H 106.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B1AA32
RGBrgb(177, 170, 50)
HSLhsl(57, 56%, 45%)
HSVhsv(57, 72%, 69%)
CMYKcmyk(0%, 4%, 71.8%, 30.6%)
CIE-LABlab(68.26, -11.48, 59.23)
CIE-LCHlch(68.26, 60.33, 100.97°)
OKLaboklab(72.25% -0.0376 0.1313)
OKLCHoklch(72.25% 0.137 106)
XYZxyz(33.0832, 38.3281, 8.6724)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA32 #3239B1
analogous
#B16B32 #B1AA32 #79B132
triadic
#B1AA32 #32B1AA #AA32B1
tetradic
#B1AA32 #32B16B #3239B1 #B13279
square
#B1AA32 #32B16B #3239B1 #B13279
split-complementary
#B1AA32 #3279B1 #6B32B1
monochromatic
#524E17 #817C25 #B1AA32 #CEC752 #DCD782

Accessibility & contrast

On white

2.42
#B1AA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B1AA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA32
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA32#FFFFFF#000000##000000
##B1AA321.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41D
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa32;
/* rgb */ color: rgb(177, 170, 50);
/* oklch */ color: oklch(72.2% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#ccc372',
    500: '#b1aa32',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa32;
$custom-light: #ccc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa32",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 56.693,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.13655,
    "h": 106
  },
  "luminance": 0.38327
}

Semantic roles & 50–950 ramp

primary
#B1AA32
secondary
#7A7EC5
accent
#51DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AA32

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

Preview Lab → · Contrast checker → · Palette generator →

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