#B1B131#B1B131

#B1B131 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.144 H 109.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B1B131
RGBrgb(177, 177, 49)
HSLhsl(60, 57%, 44%)
HSVhsv(60, 72%, 69%)
CMYKcmyk(0%, 0%, 72.3%, 30.6%)
CIE-LABlab(70.19, -15.14, 61.45)
CIE-LCHlch(70.19, 63.28, 103.84°)
OKLaboklab(73.78% -0.048 0.1358)
OKLCHoklch(73.78% 0.144 109.5)
XYZxyz(34.4092, 41.0142, 9.0091)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B131 #3131B1
analogous
#B17131 #B1B131 #71B131
triadic
#B1B131 #31B1B1 #B131B1
tetradic
#B1B131 #31B171 #3131B1 #B13171
square
#B1B131 #31B171 #3131B1 #B13171
split-complementary
#B1B131 #3171B1 #7131B1
monochromatic
#515116 #818124 #B1B131 #CFCF51 #DCDC80

Accessibility & contrast

On white

2.28
#B1B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B1B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B131
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B131#FFFFFF#000000##000000
##B1B1311.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b131;
/* rgb */ color: rgb(177, 177, 49);
/* oklch */ color: oklch(73.8% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#ccc872',
    500: '#b1b131',
    950: '#000000',
  },
}
SCSS
$custom: #b1b131;
$custom-light: #ccc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b131",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.144,
    "h": 109.5
  },
  "luminance": 0.41013
}

Semantic roles & 50–950 ramp

primary
#B1B131
secondary
#7979C5
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B131

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

Preview Lab → · Contrast checker → · Palette generator →

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