#B1B728#B1B728

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

Color values

HEX#B1B728
RGBrgb(177, 183, 40)
HSLhsl(63, 64%, 44%)
HSVhsv(63, 78%, 72%)
CMYKcmyk(3.3%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.80, -18.56, 65.87)
CIE-LCHlch(71.80, 68.44, 105.73°)
OKLaboklab(75.06% -0.0583 0.1435)
OKLCHoklch(75.06% 0.155 112.1)
XYZxyz(35.4492, 43.3682, 8.5106)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B728 #2E28B7
analogous
#B77528 #B1B728 #69B728
triadic
#B1B728 #28B1B7 #B728B1
tetradic
#B1B728 #28B775 #2E28B7 #B72869
square
#B1B728 #28B775 #2E28B7 #B72869
split-complementary
#B1B728 #2869B7 #7528B7
monochromatic
#505312 #80851D #B1B728 #D0D646 #DDE178

Accessibility & contrast

On white

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

On black

9.67
#B1B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B728
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B728#FFFFFF#000000##000000
##B1B7281.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b728;
/* rgb */ color: rgb(177, 183, 40);
/* oklch */ color: oklch(75.1% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc6f',
    500: '#b1b728',
    950: '#000000',
  },
}
SCSS
$custom: #b1b728;
$custom-light: #cccc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b728",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 62.517,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75058,
    "c": 0.15492,
    "h": 112.1
  },
  "luminance": 0.43367
}

Semantic roles & 50–950 ramp

primary
#B1B728
secondary
#7572C9
accent
#41E748
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B728

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

Preview Lab → · Contrast checker → · Palette generator →

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