#B1A533#B1A533

#B1A533 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.131 H 103.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B1A533
RGBrgb(177, 165, 51)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 69%)
CMYKcmyk(0%, 6.8%, 71.2%, 30.6%)
CIE-LABlab(66.90, -8.81, 57.52)
CIE-LCHlch(66.90, 58.19, 98.71°)
OKLaboklab(71.16% -0.03 0.1278)
OKLCHoklch(71.16% 0.131 103.2)
XYZxyz(32.1855, 36.4977, 8.4807)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A533 #333FB1
analogous
#B16633 #B1A533 #7EB133
triadic
#B1A533 #33B1A5 #A533B1
tetradic
#B1A533 #33B166 #333FB1 #B1337E
square
#B1A533 #33B166 #333FB1 #B1337E
split-complementary
#B1A533 #337EB1 #6633B1
monochromatic
#524C18 #817925 #B1A533 #CEC254 #DBD383

Accessibility & contrast

On white

2.53
#B1A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B1A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A533
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A533#FFFFFF#000000##000000
##B1A5331.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#BE998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a533;
/* rgb */ color: rgb(177, 165, 51);
/* oklch */ color: oklch(71.2% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccbf72',
    500: '#b1a533',
    950: '#000000',
  },
}
SCSS
$custom: #b1a533;
$custom-light: #ccbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a533",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 54.286,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71163,
    "c": 0.1313,
    "h": 103.2
  },
  "luminance": 0.36496
}

Semantic roles & 50–950 ramp

primary
#B1A533
secondary
#7B82C5
accent
#57DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A533

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

Preview Lab → · Contrast checker → · Palette generator →

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