#B1C02A#B1C02A

#B1C02A is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.163 H 115.5°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B1C02A
RGBrgb(177, 192, 42)
HSLhsl(66, 64%, 46%)
HSVhsv(66, 78%, 75%)
CMYKcmyk(7.8%, 0%, 78.1%, 24.7%)
CIE-LABlab(74.33, -22.94, 67.55)
CIE-LCHlch(74.33, 71.34, 108.76°)
OKLaboklab(77.08% -0.0703 0.1475)
OKLCHoklch(77.08% 0.163 115.5)
XYZxyz(37.4001, 47.2142, 9.3331)
Luminance0.4721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C02A #392AC0
analogous
#C0842A #B1C02A #66C02A
triadic
#B1C02A #2AB1C0 #C02AB1
tetradic
#B1C02A #2AC084 #392AC0 #C02A66
square
#B1C02A #2AC084 #392AC0 #C02A66
split-complementary
#B1C02A #2A66C0 #842AC0
monochromatic
#545C14 #838E1F #B1C02A #CBD84F #DAE381

Accessibility & contrast

On white

2.01
#B1C02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#B1C02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C02A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C02A#FFFFFF#000000##000000
##B1C02A1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#BDB5A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1c02a;
/* rgb */ color: rgb(177, 192, 42);
/* oklch */ color: oklch(77.1% 0.163 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd271',
    500: '#b1c02a',
    950: '#000000',
  },
}
SCSS
$custom: #b1c02a;
$custom-light: #ccd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c02a",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77083,
    "c": 0.16337,
    "h": 115.5
  },
  "luminance": 0.47214
}

Semantic roles & 50–950 ramp

primary
#B1C02A
secondary
#827ACC
accent
#41E751
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B1C02A

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

Preview Lab → · Contrast checker → · Palette generator →

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