#B1BA2F#B1BA2F

#B1BA2F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.154 H 113.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B1BA2F
RGBrgb(177, 186, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 73%)
CMYKcmyk(4.8%, 0%, 74.7%, 27.1%)
CIE-LABlab(72.67, -19.77, 64.48)
CIE-LCHlch(72.67, 67.44, 107.05°)
OKLaboklab(75.77% -0.0611 0.1418)
OKLCHoklch(75.77% 0.154 113.3)
XYZxyz(36.2046, 44.6709, 9.4039)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA2F #382FBA
analogous
#BA7D2F #B1BA2F #6BBA2F
triadic
#B1BA2F #2FB1BA #BA2FB1
tetradic
#B1BA2F #2FBA7D #382FBA #BA2F6B
square
#B1BA2F #2FBA7D #382FBA #BA2F6B
split-complementary
#B1BA2F #2F6BBA #7D2FBA
monochromatic
#545816 #838923 #B1BA2F #CBD353 #DAE084

Accessibility & contrast

On white

2.11
#B1BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B1BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BA2F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BA2F#FFFFFF#000000##000000
##B1BA2F1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10E
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#BDAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba2f;
/* rgb */ color: rgb(177, 186, 47);
/* oklch */ color: oklch(75.8% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce72',
    500: '#b1ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba2f;
$custom-light: #ccce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba2f",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 63.885,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75766,
    "c": 0.15442,
    "h": 113.3
  },
  "luminance": 0.4467
}

Semantic roles & 50–950 ramp

primary
#B1BA2F
secondary
#817CC9
accent
#45E34F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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