#B1B82B#B1B82B

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

Color values

HEX#B1B82B
RGBrgb(177, 184, 43)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 77%, 72%)
CMYKcmyk(3.8%, 0%, 76.6%, 27.8%)
CIE-LABlab(72.10, -18.94, 65.23)
CIE-LCHlch(72.10, 67.92, 106.19°)
OKLaboklab(75.3% -0.0591 0.1427)
OKLCHoklch(75.3% 0.154 112.5)
XYZxyz(35.7092, 43.8034, 8.8589)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B82B #322BB8
analogous
#B8792B #B1B82B #6AB82B
triadic
#B1B82B #2BB1B8 #B82BB1
tetradic
#B1B82B #2BB879 #322BB8 #B82B6A
square
#B1B82B #2BB879 #322BB8 #B82B6A
split-complementary
#B1B82B #2B6AB8 #792BB8
monochromatic
#525514 #81861F #B1B82B #CED54B #DCE17D

Accessibility & contrast

On white

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

On black

9.76
#B1B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B82B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B82B#FFFFFF#000000##000000
##B1B82B1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b82b;
/* rgb */ color: rgb(177, 184, 43);
/* oklch */ color: oklch(75.3% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd70',
    500: '#b1b82b',
    950: '#000000',
  },
}
SCSS
$custom: #b1b82b;
$custom-light: #cccd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b82b",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 62.979,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75297,
    "c": 0.15446,
    "h": 112.5
  },
  "luminance": 0.43803
}

Semantic roles & 50–950 ramp

primary
#B1B82B
secondary
#7A76C9
accent
#43E54B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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