#B1B72A#B1B72A

#B1B72A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.154 H 112.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B1B72A
RGBrgb(177, 183, 42)
HSLhsl(63, 63%, 44%)
HSVhsv(63, 77%, 72%)
CMYKcmyk(3.3%, 0%, 77%, 28.2%)
CIE-LABlab(71.81, -18.48, 65.28)
CIE-LCHlch(71.81, 67.84, 105.81°)
OKLaboklab(75.07% -0.0579 0.1426)
OKLCHoklch(75.07% 0.154 112.1)
XYZxyz(35.4841, 43.3821, 8.6944)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72A #302AB7
analogous
#B7772A #B1B72A #6BB72A
triadic
#B1B72A #2AB1B7 #B72AB1
tetradic
#B1B72A #2AB777 #302AB7 #B72A6B
square
#B1B72A #2AB777 #302AB7 #B72A6B
split-complementary
#B1B72A #2A6BB7 #772AB7
monochromatic
#515313 #81851F #B1B72A #CFD549 #DCE17B

Accessibility & contrast

On white

2.17
#B1B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B1B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B72A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B72A#FFFFFF#000000##000000
##B1B72A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#BDAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72a;
/* rgb */ color: rgb(177, 183, 42);
/* oklch */ color: oklch(75.1% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc70',
    500: '#b1b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72a;
$custom-light: #cccc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72a",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 62.553,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75068,
    "c": 0.15394,
    "h": 112.1
  },
  "luminance": 0.43381
}

Semantic roles & 50–950 ramp

primary
#B1B72A
secondary
#7874C9
accent
#42E649
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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