#B1A732#B1A732

#B1A732 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.134 H 104.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B1A732
RGBrgb(177, 167, 50)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 69%)
CMYKcmyk(0%, 5.6%, 71.8%, 30.6%)
CIE-LABlab(67.44, -9.91, 58.43)
CIE-LCHlch(67.44, 59.26, 99.63°)
OKLaboklab(71.59% -0.0332 0.1296)
OKLCHoklch(71.59% 0.134 104.4)
XYZxyz(32.5273, 37.2161, 8.4871)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A732 #323CB1
analogous
#B16832 #B1A732 #7BB132
triadic
#B1A732 #32B1A7 #A732B1
tetradic
#B1A732 #32B168 #323CB1 #B1327B
square
#B1A732 #32B168 #323CB1 #B1327B
split-complementary
#B1A732 #327BB1 #6832B1
monochromatic
#524D17 #817A25 #B1A732 #CEC452 #DCD582

Accessibility & contrast

On white

2.49
#B1A732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B1A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A732
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A732#FFFFFF#000000##000000
##B1A7321.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11E
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a732;
/* rgb */ color: rgb(177, 167, 50);
/* oklch */ color: oklch(71.6% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#ccc072',
    500: '#b1a732',
    950: '#000000',
  },
}
SCSS
$custom: #b1a732;
$custom-light: #ccc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a732",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 55.276,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.13375,
    "h": 104.4
  },
  "luminance": 0.37215
}

Semantic roles & 50–950 ramp

primary
#B1A732
secondary
#7A80C5
accent
#54DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A732

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

Preview Lab → · Contrast checker → · Palette generator →

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