#B1B532#B1B532

#B1B532 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.147 H 111.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B1B532
RGBrgb(177, 181, 50)
HSLhsl(62, 57%, 45%)
HSVhsv(62, 72%, 71%)
CMYKcmyk(2.2%, 0%, 72.4%, 29%)
CIE-LABlab(71.30, -17.12, 62.16)
CIE-LCHlch(71.30, 64.48, 105.40°)
OKLaboklab(74.67% -0.0534 0.1375)
OKLCHoklch(74.67% 0.147 111.2)
XYZxyz(35.2322, 42.6261, 9.3887)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B532 #3632B5
analogous
#B57732 #B1B532 #6FB532
triadic
#B1B532 #32B1B5 #B532B1
tetradic
#B1B532 #32B577 #3632B5 #B5326F
square
#B1B532 #32B577 #3632B5 #B5326F
split-complementary
#B1B532 #326FB5 #7732B5
monochromatic
#535518 #828525 #B1B532 #CCD054 #DADD84

Accessibility & contrast

On white

2.20
#B1B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B1B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B532
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B532#FFFFFF#000000##000000
##B1B5321.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD19
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b532;
/* rgb */ color: rgb(177, 181, 50);
/* oklch */ color: oklch(74.7% 0.147 111.2);
Tailwind
colors: {
  custom: {
    50: '#ccca73',
    500: '#b1b532',
    950: '#000000',
  },
}
SCSS
$custom: #b1b532;
$custom-light: #ccca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b532",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 61.832,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.14747,
    "h": 111.2
  },
  "luminance": 0.42625
}

Semantic roles & 50–950 ramp

primary
#B1B532
secondary
#7F7CC7
accent
#48E04C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B532

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

Preview Lab → · Contrast checker → · Palette generator →

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