#B1B52C#B1B52C

#B1B52C 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.52:1 contrast (WCAG AA passes).

Color values

HEX#B1B52C
RGBrgb(177, 181, 44)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.2%, 0%, 75.7%, 29%)
CIE-LABlab(71.27, -17.39, 64.15)
CIE-LCHlch(71.27, 66.47, 105.17°)
OKLaboklab(74.63% -0.0547 0.1406)
OKLCHoklch(74.63% 0.151 111.3)
XYZxyz(35.1112, 42.5776, 8.7511)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B52C #302CB5
analogous
#B5752C #B1B52C #6DB52C
triadic
#B1B52C #2CB1B5 #B52CB1
tetradic
#B1B52C #2CB575 #302CB5 #B52C6D
square
#B1B52C #2CB575 #302CB5 #B52C6D
split-complementary
#B1B52C #2C6DB5 #752CB5
monochromatic
#515314 #818420 #B1B52C #CFD34B #DCDF7C

Accessibility & contrast

On white

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

On black

9.52
#B1B52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B52C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B52C#FFFFFF#000000##000000
##B1B52C1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b52c;
/* rgb */ color: rgb(177, 181, 44);
/* oklch */ color: oklch(74.6% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca70',
    500: '#b1b52c',
    950: '#000000',
  },
}
SCSS
$custom: #b1b52c;
$custom-light: #ccca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b52c",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 61.752,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74634,
    "c": 0.15086,
    "h": 111.3
  },
  "luminance": 0.42577
}

Semantic roles & 50–950 ramp

primary
#B1B52C
secondary
#7875C8
accent
#44E448
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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