#B1B72B#B1B72B

#B1B72B 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#B1B72B
RGBrgb(177, 183, 43)
HSLhsl(63, 62%, 44%)
HSVhsv(63, 77%, 72%)
CMYKcmyk(3.3%, 0%, 76.5%, 28.2%)
CIE-LABlab(71.82, -18.44, 64.97)
CIE-LCHlch(71.82, 67.54, 105.84°)
OKLaboklab(75.07% -0.0577 0.1422)
OKLCHoklch(75.07% 0.153 112.1)
XYZxyz(35.5022, 43.3894, 8.7899)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72B #312BB7
analogous
#B7772B #B1B72B #6BB72B
triadic
#B1B72B #2BB1B7 #B72BB1
tetradic
#B1B72B #2BB777 #312BB7 #B72B6B
square
#B1B72B #2BB777 #312BB7 #B72B6B
split-complementary
#B1B72B #2B6BB7 #772BB7
monochromatic
#515414 #81851F #B1B72B #CFD54B #DCE07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B72B#FFFFFF#000000##000000
##B1B72B1.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)
#C5AE03
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#BDAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72b;
/* rgb */ color: rgb(177, 183, 43);
/* oklch */ color: oklch(75.1% 0.153 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc70',
    500: '#b1b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72b;
$custom-light: #cccc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72b",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 62.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75074,
    "c": 0.15343,
    "h": 112.1
  },
  "luminance": 0.43389
}

Semantic roles & 50–950 ramp

primary
#B1B72B
secondary
#7975C9
accent
#43E54A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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