#B1A032#B1A032

#B1A032 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.128 H 100.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B1A032
RGBrgb(177, 160, 50)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 69%)
CMYKcmyk(0%, 9.6%, 71.8%, 30.6%)
CIE-LABlab(65.53, -6.22, 56.56)
CIE-LCHlch(65.53, 56.90, 96.28°)
OKLaboklab(70.07% -0.0228 0.1256)
OKLCHoklch(70.07% 0.128 100.3)
XYZxyz(31.2794, 34.7205, 8.0711)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A032 #3243B1
analogous
#B16132 #B1A032 #82B132
triadic
#B1A032 #32B1A0 #A032B1
tetradic
#B1A032 #32B161 #3243B1 #B13282
square
#B1A032 #32B161 #3243B1 #B13282
split-complementary
#B1A032 #3282B1 #6132B1
monochromatic
#524A17 #817525 #B1A032 #CEBE52 #DCD082

Accessibility & contrast

On white

2.64
#B1A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B1A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A032
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A032#FFFFFF#000000##000000
##B1A0321.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B21
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a032;
/* rgb */ color: rgb(177, 160, 50);
/* oklch */ color: oklch(70.1% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#ccbb71',
    500: '#b1a032',
    950: '#000000',
  },
}
SCSS
$custom: #b1a032;
$custom-light: #ccbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a032",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 51.969,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.12766,
    "h": 100.3
  },
  "luminance": 0.34719
}

Semantic roles & 50–950 ramp

primary
#B1A032
secondary
#7A84C5
accent
#5DDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A032

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

Preview Lab → · Contrast checker → · Palette generator →

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