#B1A332#B1A332

#B1A332 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.130 H 102.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B1A332
RGBrgb(177, 163, 50)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 69%)
CMYKcmyk(0%, 7.9%, 71.8%, 30.6%)
CIE-LABlab(66.35, -7.81, 57.36)
CIE-LCHlch(66.35, 57.89, 97.75°)
OKLaboklab(70.72% -0.0273 0.1273)
OKLCHoklch(70.72% 0.13 102.1)
XYZxyz(31.8058, 35.7732, 8.2466)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A332 #3240B1
analogous
#B16432 #B1A332 #80B132
triadic
#B1A332 #32B1A3 #A332B1
tetradic
#B1A332 #32B164 #3240B1 #B13280
square
#B1A332 #32B164 #3240B1 #B13280
split-complementary
#B1A332 #3280B1 #6432B1
monochromatic
#524B17 #817725 #B1A332 #CEC052 #DCD282

Accessibility & contrast

On white

2.58
#B1A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B1A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A332
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A332#FFFFFF#000000##000000
##B1A3321.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E20
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a332;
/* rgb */ color: rgb(177, 163, 50);
/* oklch */ color: oklch(70.7% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbd71',
    500: '#b1a332',
    950: '#000000',
  },
}
SCSS
$custom: #b1a332;
$custom-light: #ccbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a332",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 53.386,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70722,
    "c": 0.13019,
    "h": 102.1
  },
  "luminance": 0.35772
}

Semantic roles & 50–950 ramp

primary
#B1A332
secondary
#7A82C5
accent
#59DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A332

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

Preview Lab → · Contrast checker → · Palette generator →

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