#B1B72C#B1B72C

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

Color values

HEX#B1B72C
RGBrgb(177, 183, 44)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 72%)
CMYKcmyk(3.3%, 0%, 76%, 28.2%)
CIE-LABlab(71.82, -18.40, 64.66)
CIE-LCHlch(71.82, 67.23, 105.88°)
OKLaboklab(75.08% -0.0575 0.1417)
OKLCHoklch(75.08% 0.153 112.1)
XYZxyz(35.5208, 43.3968, 8.8877)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72C #322CB7
analogous
#B7782C #B1B72C #6CB72C
triadic
#B1B72C #2CB1B7 #B72CB1
tetradic
#B1B72C #2CB778 #322CB7 #B72C6C
square
#B1B72C #2CB778 #322CB7 #B72C6C
split-complementary
#B1B72C #2C6CB7 #782CB7
monochromatic
#525414 #818620 #B1B72C #CED44C #DCE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B72C#FFFFFF#000000##000000
##B1B72C1.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)
#C5AE07
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72c;
/* rgb */ color: rgb(177, 183, 44);
/* oklch */ color: oklch(75.1% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc71',
    500: '#b1b72c',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72c;
$custom-light: #cccc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72c",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 62.59,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75079,
    "c": 0.15291,
    "h": 112.1
  },
  "luminance": 0.43396
}

Semantic roles & 50–950 ramp

primary
#B1B72C
secondary
#7A76C8
accent
#43E44A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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