#B1B533#B1B533

#B1B533 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#B1B533
RGBrgb(177, 181, 51)
HSLhsl(62, 56%, 45%)
HSVhsv(62, 72%, 71%)
CMYKcmyk(2.2%, 0%, 71.8%, 29%)
CIE-LABlab(71.31, -17.07, 61.81)
CIE-LCHlch(71.31, 64.13, 105.44°)
OKLaboklab(74.68% -0.0532 0.1369)
OKLCHoklch(74.68% 0.147 111.2)
XYZxyz(35.2540, 42.6348, 9.5036)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B533 #3733B5
analogous
#B57833 #B1B533 #70B533
triadic
#B1B533 #33B1B5 #B533B1
tetradic
#B1B533 #33B578 #3733B5 #B53370
square
#B1B533 #33B578 #3733B5 #B53370
split-complementary
#B1B533 #3370B5 #7833B5
monochromatic
#545618 #828526 #B1B533 #CCCF56 #DADD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B533#FFFFFF#000000##000000
##B1B5331.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)
#C3AD1B
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b533;
/* rgb */ color: rgb(177, 181, 51);
/* oklch */ color: oklch(74.7% 0.147 111.2);
Tailwind
colors: {
  custom: {
    50: '#ccca74',
    500: '#b1b533',
    950: '#000000',
  },
}
SCSS
$custom: #b1b533;
$custom-light: #ccca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b533",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 61.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74678,
    "c": 0.14687,
    "h": 111.2
  },
  "luminance": 0.42634
}

Semantic roles & 50–950 ramp

primary
#B1B533
secondary
#807DC6
accent
#48DF4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B533

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

Preview Lab → · Contrast checker → · Palette generator →

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