#B1BA2C#B1BA2C

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

Color values

HEX#B1BA2C
RGBrgb(177, 186, 44)
HSLhsl(64, 62%, 45%)
HSVhsv(64, 76%, 73%)
CMYKcmyk(4.8%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.66, -19.90, 65.43)
CIE-LCHlch(72.66, 68.39, 106.92°)
OKLaboklab(75.75% -0.0617 0.1433)
OKLCHoklch(75.75% 0.156 113.3)
XYZxyz(36.1461, 44.6476, 9.0961)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA2C #352CBA
analogous
#BA7C2C #B1BA2C #6ABA2C
triadic
#B1BA2C #2CB1BA #BA2CB1
tetradic
#B1BA2C #2CBA7C #352CBA #BA2C6A
square
#B1BA2C #2CBA7C #352CBA #BA2C6A
split-complementary
#B1BA2C #2C6ABA #7C2CBA
monochromatic
#535715 #828920 #B1BA2C #CDD54E #DBE180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1BA2C#FFFFFF#000000##000000
##B1BA2C1.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)
#C8B104
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#BDAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba2c;
/* rgb */ color: rgb(177, 186, 44);
/* oklch */ color: oklch(75.7% 0.156 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce71',
    500: '#b1ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba2c;
$custom-light: #ccce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba2c",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 63.803,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75749,
    "c": 0.15602,
    "h": 113.3
  },
  "luminance": 0.44647
}

Semantic roles & 50–950 ramp

primary
#B1BA2C
secondary
#7D78CA
accent
#43E54D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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