#B1B52B#B1B52B

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

Color values

HEX#B1B52B
RGBrgb(177, 181, 43)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.2%, 0%, 76.2%, 29%)
CIE-LABlab(71.26, -17.43, 64.46)
CIE-LCHlch(71.26, 66.78, 105.13°)
OKLaboklab(74.63% -0.0549 0.1411)
OKLCHoklch(74.63% 0.151 111.3)
XYZxyz(35.0926, 42.5702, 8.6533)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B52B #2F2BB5
analogous
#B5742B #B1B52B #6CB52B
triadic
#B1B52B #2BB1B5 #B52BB1
tetradic
#B1B52B #2BB574 #2F2BB5 #B52B6C
square
#B1B52B #2BB574 #2F2BB5 #B52B6C
split-complementary
#B1B52B #2B6CB5 #742BB5
monochromatic
#505214 #81841F #B1B52B #D0D449 #DDE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B52B#FFFFFF#000000##000000
##B1B52B1.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)
#C3AD05
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b52b;
/* rgb */ color: rgb(177, 181, 43);
/* oklch */ color: oklch(74.6% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca70',
    500: '#b1b52b',
    950: '#000000',
  },
}
SCSS
$custom: #b1b52b;
$custom-light: #ccca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b52b",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 61.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.15139,
    "h": 111.3
  },
  "luminance": 0.42569
}

Semantic roles & 50–950 ramp

primary
#B1B52B
secondary
#7674C8
accent
#43E548
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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