#B1C02E#B1C02E

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

Color values

HEX#B1C02E
RGBrgb(177, 192, 46)
HSLhsl(66, 61%, 47%)
HSVhsv(66, 76%, 75%)
CMYKcmyk(7.8%, 0%, 76%, 24.7%)
CIE-LABlab(74.35, -22.78, 66.36)
CIE-LCHlch(74.35, 70.16, 108.95°)
OKLaboklab(77.11% -0.0695 0.1456)
OKLCHoklch(77.11% 0.161 115.5)
XYZxyz(37.4753, 47.2443, 9.7291)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C02E #3D2EC0
analogous
#C0862E #B1C02E #68C02E
triadic
#B1C02E #2EB1C0 #C02EB1
tetradic
#B1C02E #2EC086 #3D2EC0 #C02E68
square
#B1C02E #2EC086 #3D2EC0 #C02E68
split-complementary
#B1C02E #2E68C0 #862EC0
monochromatic
#565D16 #838F22 #B1C02E #C9D655 #D9E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1C02E#FFFFFF#000000##000000
##B1C02E1.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)
#CEB606
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#BDB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1c02e;
/* rgb */ color: rgb(177, 192, 46);
/* oklch */ color: oklch(77.1% 0.161 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd273',
    500: '#b1c02e',
    950: '#000000',
  },
}
SCSS
$custom: #b1c02e;
$custom-light: #ccd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c02e",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 66.164,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77105,
    "c": 0.16137,
    "h": 115.5
  },
  "luminance": 0.47244
}

Semantic roles & 50–950 ramp

primary
#B1C02E
secondary
#867ECC
accent
#43E454
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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