#B1B41B#B1B41B

#B1B41B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.157 H 110.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B1B41B
RGBrgb(177, 180, 27)
HSLhsl(61, 74%, 41%)
HSVhsv(61, 85%, 71%)
CMYKcmyk(1.7%, 0%, 85%, 29.4%)
CIE-LABlab(70.92, -17.46, 68.49)
CIE-LCHlch(70.92, 70.68, 104.30°)
OKLaboklab(74.33% -0.0561 0.1469)
OKLCHoklch(74.33% 0.157 110.9)
XYZxyz(34.6519, 42.0698, 7.3316)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B41B #1E1BB4
analogous
#B46A1B #B1B41B #65B41B
triadic
#B1B41B #1BB1B4 #B41BB1
tetradic
#B1B41B #1BB46A #1E1BB4 #B41B65
square
#B1B41B #1BB46A #1E1BB4 #B41B65
split-complementary
#B1B41B #1B65B4 #6A1BB4
monochromatic
#484A0B #7D7F13 #B1B41B #DCDF2D #E5E762

Accessibility & contrast

On white

2.23
#B1B41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B1B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B41B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B41B#FFFFFF#000000##000000
##B1B41B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF2C
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b41b;
/* rgb */ color: rgb(177, 180, 27);
/* oklch */ color: oklch(74.3% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#cdca6a',
    500: '#b1b41b',
    950: '#000000',
  },
}
SCSS
$custom: #b1b41b;
$custom-light: #cdca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b41b",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 61.176,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.15728,
    "h": 110.9
  },
  "luminance": 0.42069
}

Semantic roles & 50–950 ramp

primary
#B1B41B
secondary
#615FCC
accent
#37F13B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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