#B1B528#B1B528

#B1B528 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.153 H 111.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B1B528
RGBrgb(177, 181, 40)
HSLhsl(62, 64%, 43%)
HSVhsv(62, 78%, 71%)
CMYKcmyk(2.2%, 0%, 77.9%, 29%)
CIE-LABlab(71.25, -17.55, 65.37)
CIE-LCHlch(71.25, 67.69, 105.03°)
OKLaboklab(74.61% -0.0555 0.1425)
OKLCHoklch(74.61% 0.153 111.3)
XYZxyz(35.0396, 42.5490, 8.3741)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B528 #2C28B5
analogous
#B57228 #B1B528 #6AB528
triadic
#B1B528 #28B1B5 #B528B1
tetradic
#B1B528 #28B572 #2C28B5 #B5286A
square
#B1B528 #28B572 #2C28B5 #B5286A
split-complementary
#B1B528 #286AB5 #7228B5
monochromatic
#4F5112 #80831D #B1B528 #D2D644 #DEE177

Accessibility & contrast

On white

2.21
#B1B528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B1B528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B528
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B528#FFFFFF#000000##000000
##B1B5281.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b528;
/* rgb */ color: rgb(177, 181, 40);
/* oklch */ color: oklch(74.6% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca6f',
    500: '#b1b528',
    950: '#000000',
  },
}
SCSS
$custom: #b1b528;
$custom-light: #ccca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b528",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 61.702,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74612,
    "c": 0.15289,
    "h": 111.3
  },
  "luminance": 0.42548
}

Semantic roles & 50–950 ramp

primary
#B1B528
secondary
#7370C8
accent
#41E746
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B528

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

Preview Lab → · Contrast checker → · Palette generator →

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