#B1BA32#B1BA32

#B1BA32 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.153 H 113.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B1BA32
RGBrgb(177, 186, 50)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 73%, 73%)
CMYKcmyk(4.8%, 0%, 73.1%, 27.1%)
CIE-LABlab(72.69, -19.63, 63.49)
CIE-LCHlch(72.69, 66.46, 107.18°)
OKLaboklab(75.79% -0.0604 0.1403)
OKLCHoklch(75.79% 0.153 113.3)
XYZxyz(36.2672, 44.6960, 9.7337)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA32 #3B32BA
analogous
#BA7F32 #B1BA32 #6DBA32
triadic
#B1BA32 #32B1BA #BA32B1
tetradic
#B1BA32 #32BA7F #3B32BA #BA326D
square
#B1BA32 #32BA7F #3B32BA #BA326D
split-complementary
#B1BA32 #326DBA #7F32BA
monochromatic
#555A18 #838A25 #B1BA32 #CAD257 #D9DF88

Accessibility & contrast

On white

2.11
#B1BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B1BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BA32
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BA32#FFFFFF#000000##000000
##B1BA321.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#BDAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba32;
/* rgb */ color: rgb(177, 186, 50);
/* oklch */ color: oklch(75.8% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce74',
    500: '#b1ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba32;
$custom-light: #ccce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba32",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 63.971,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75785,
    "c": 0.15272,
    "h": 113.3
  },
  "luminance": 0.44695
}

Semantic roles & 50–950 ramp

primary
#B1BA32
secondary
#847FC9
accent
#47E151
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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