#B1BA30#B1BA30

#B1BA30 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.94:1 contrast (WCAG AA passes).

Color values

HEX#B1BA30
RGBrgb(177, 186, 48)
HSLhsl(64, 59%, 46%)
HSVhsv(64, 74%, 73%)
CMYKcmyk(4.8%, 0%, 74.2%, 27.1%)
CIE-LABlab(72.68, -19.73, 64.16)
CIE-LCHlch(72.68, 67.12, 107.09°)
OKLaboklab(75.77% -0.0609 0.1413)
OKLCHoklch(75.77% 0.154 113.3)
XYZxyz(36.2250, 44.6791, 9.5114)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA30 #3930BA
analogous
#BA7E30 #B1BA30 #6CBA30
triadic
#B1BA30 #30B1BA #BA30B1
tetradic
#B1BA30 #30BA7E #3930BA #BA306C
square
#B1BA30 #30BA7E #3930BA #BA306C
split-complementary
#B1BA30 #306CBA #7E30BA
monochromatic
#545917 #838923 #B1BA30 #CBD354 #DADF85

Accessibility & contrast

On white

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

On black

9.94
#B1BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BA30
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BA30#FFFFFF#000000##000000
##B1BA301.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ba30;
/* rgb */ color: rgb(177, 186, 48);
/* oklch */ color: oklch(75.8% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce73',
    500: '#b1ba30',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba30;
$custom-light: #ccce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba30",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 63.913,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.15387,
    "h": 113.3
  },
  "luminance": 0.44678
}

Semantic roles & 50–950 ramp

primary
#B1BA30
secondary
#827DC9
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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