#B1B52A#B1B52A

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

Color values

HEX#B1B52A
RGBrgb(177, 181, 42)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.2%, 0%, 76.8%, 29%)
CIE-LABlab(71.26, -17.47, 64.77)
CIE-LCHlch(71.26, 67.09, 105.10°)
OKLaboklab(74.62% -0.0551 0.1416)
OKLCHoklch(74.62% 0.152 111.3)
XYZxyz(35.0745, 42.5630, 8.5579)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B52A #2E2AB5
analogous
#B5732A #B1B52A #6BB52A
triadic
#B1B52A #2AB1B5 #B52AB1
tetradic
#B1B52A #2AB573 #2E2AB5 #B52A6B
square
#B1B52A #2AB573 #2E2AB5 #B52A6B
split-complementary
#B1B52A #2A6BB5 #732AB5
monochromatic
#505213 #80831E #B1B52A #D0D448 #DDE079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B52A#FFFFFF#000000##000000
##B1B52A1.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)
#C3AD01
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b52a;
/* rgb */ color: rgb(177, 181, 42);
/* oklch */ color: oklch(74.6% 0.152 111.3);
Tailwind
colors: {
  custom: {
    50: '#ccca70',
    500: '#b1b52a',
    950: '#000000',
  },
}
SCSS
$custom: #b1b52a;
$custom-light: #ccca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b52a",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 61.727,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74623,
    "c": 0.15191,
    "h": 111.3
  },
  "luminance": 0.42562
}

Semantic roles & 50–950 ramp

primary
#B1B52A
secondary
#7573C8
accent
#42E547
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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