#B1B832#B1B832

#B1B832 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.151 H 112.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B1B832
RGBrgb(177, 184, 50)
HSLhsl(63, 57%, 46%)
HSVhsv(63, 73%, 72%)
CMYKcmyk(3.8%, 0%, 72.8%, 27.8%)
CIE-LABlab(72.13, -18.63, 62.96)
CIE-LCHlch(72.13, 65.66, 106.49°)
OKLaboklab(75.34% -0.0576 0.1391)
OKLCHoklch(75.34% 0.151 112.5)
XYZxyz(35.8488, 43.8592, 9.5942)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B832 #3932B8
analogous
#B87C32 #B1B832 #6EB832
triadic
#B1B832 #32B1B8 #B832B1
tetradic
#B1B832 #32B87C #3932B8 #B8326E
square
#B1B832 #32B87C #3932B8 #B8326E
split-complementary
#B1B832 #326EB8 #7C32B8
monochromatic
#545818 #838825 #B1B832 #CBD156 #DADE86

Accessibility & contrast

On white

2.15
#B1B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B1B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B832
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B832#FFFFFF#000000##000000
##B1B8321.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF17
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b832;
/* rgb */ color: rgb(177, 184, 50);
/* oklch */ color: oklch(75.3% 0.151 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd74',
    500: '#b1b832',
    950: '#000000',
  },
}
SCSS
$custom: #b1b832;
$custom-light: #cccd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b832",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 63.134,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75338,
    "c": 0.15061,
    "h": 112.5
  },
  "luminance": 0.43858
}

Semantic roles & 50–950 ramp

primary
#B1B832
secondary
#827EC8
accent
#47E14F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B832

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

Preview Lab → · Contrast checker → · Palette generator →

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