#B1BF2A#B1BF2A

#B1BF2A is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.162 H 115.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B1BF2A
RGBrgb(177, 191, 42)
HSLhsl(66, 64%, 46%)
HSVhsv(66, 78%, 75%)
CMYKcmyk(7.3%, 0%, 78%, 25.1%)
CIE-LABlab(74.05, -22.45, 67.30)
CIE-LCHlch(74.05, 70.95, 108.45°)
OKLaboklab(76.86% -0.0689 0.1469)
OKLCHoklch(76.86% 0.162 115.1)
XYZxyz(37.1813, 46.7765, 9.2602)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BF2A #382ABF
analogous
#BF832A #B1BF2A #66BF2A
triadic
#B1BF2A #2AB1BF #BF2AB1
tetradic
#B1BF2A #2ABF83 #382ABF #BF2A66
square
#B1BF2A #2ABF83 #382ABF #BF2A66
split-complementary
#B1BF2A #2A66BF #832ABF
monochromatic
#545B14 #838D1F #B1BF2A #CBD84E #DAE380

Accessibility & contrast

On white

2.03
#B1BF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B1BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BF2A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BF2A#FFFFFF#000000##000000
##B1BF2A1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#BDB4A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b1bf2a;
/* rgb */ color: rgb(177, 191, 42);
/* oklch */ color: oklch(76.9% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#ccd271',
    500: '#b1bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #b1bf2a;
$custom-light: #ccd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bf2a",
  "rgb": {
    "r": 177,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 65.638,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.1623,
    "h": 115.1
  },
  "luminance": 0.46776
}

Semantic roles & 50–950 ramp

primary
#B1BF2A
secondary
#8179CC
accent
#41E750
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B1BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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