#B1A832#B1A832

#B1A832 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.135 H 104.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B1A832
RGBrgb(177, 168, 50)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 69%)
CMYKcmyk(0%, 5.1%, 71.8%, 30.6%)
CIE-LABlab(67.71, -10.44, 58.69)
CIE-LCHlch(67.71, 59.61, 100.08°)
OKLaboklab(71.81% -0.0347 0.1301)
OKLCHoklch(71.81% 0.135 104.9)
XYZxyz(32.7112, 37.5839, 8.5484)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A832 #323BB1
analogous
#B16932 #B1A832 #7BB132
triadic
#B1A832 #32B1A8 #A832B1
tetradic
#B1A832 #32B169 #323BB1 #B1327B
square
#B1A832 #32B169 #323BB1 #B1327B
split-complementary
#B1A832 #327BB1 #6932B1
monochromatic
#524D17 #817B25 #B1A832 #CEC552 #DCD582

Accessibility & contrast

On white

2.47
#B1A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B1A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A832
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A832#FFFFFF#000000##000000
##B1A8321.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#BE9C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a832;
/* rgb */ color: rgb(177, 168, 50);
/* oklch */ color: oklch(71.8% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#ccc172',
    500: '#b1a832',
    950: '#000000',
  },
}
SCSS
$custom: #b1a832;
$custom-light: #ccc172;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a832",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 55.748,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.13468,
    "h": 104.9
  },
  "luminance": 0.37583
}

Semantic roles & 50–950 ramp

primary
#B1A832
secondary
#7A7FC5
accent
#53DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A832

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

Preview Lab → · Contrast checker → · Palette generator →

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