#B1C02C#B1C02C

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

Color values

HEX#B1C02C
RGBrgb(177, 192, 44)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 77%, 75%)
CMYKcmyk(7.8%, 0%, 77.1%, 24.7%)
CIE-LABlab(74.34, -22.87, 66.96)
CIE-LCHlch(74.34, 70.76, 108.85°)
OKLaboklab(77.09% -0.0699 0.1466)
OKLCHoklch(77.09% 0.162 115.5)
XYZxyz(37.4368, 47.2289, 9.5263)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C02C #3B2CC0
analogous
#C0852C #B1C02C #67C02C
triadic
#B1C02C #2CB1C0 #C02CB1
tetradic
#B1C02C #2CC085 #3B2CC0 #C02C67
square
#B1C02C #2CC085 #3B2CC0 #C02C67
split-complementary
#B1C02C #2C67C0 #852CC0
monochromatic
#555C15 #838E21 #B1C02C #CAD752 #D9E384

Accessibility & contrast

On white

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

On black

10.45
#B1C02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C02C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C02C#FFFFFF#000000##000000
##B1C02C1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1c02c;
/* rgb */ color: rgb(177, 192, 44);
/* oklch */ color: oklch(77.1% 0.162 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd272',
    500: '#b1c02c',
    950: '#000000',
  },
}
SCSS
$custom: #b1c02c;
$custom-light: #ccd272;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c02c",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 66.081,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77094,
    "c": 0.16238,
    "h": 115.5
  },
  "luminance": 0.47228
}

Semantic roles & 50–950 ramp

primary
#B1C02C
secondary
#847CCC
accent
#42E653
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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