#B2C02A#B2C02A

#B2C02A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.163 H 115.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B2C02A
RGBrgb(178, 192, 42)
HSLhsl(66, 64%, 46%)
HSVhsv(66, 78%, 75%)
CMYKcmyk(7.3%, 0%, 78.1%, 24.7%)
CIE-LABlab(74.40, -22.52, 67.65)
CIE-LCHlch(74.40, 71.30, 108.42°)
OKLaboklab(77.16% -0.0692 0.1476)
OKLCHoklch(77.16% 0.163 115.1)
XYZxyz(37.6288, 47.3321, 9.3438)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C02A #382AC0
analogous
#C0832A #B2C02A #67C02A
triadic
#B2C02A #2AB2C0 #C02AB2
tetradic
#B2C02A #2AC083 #382AC0 #C02A67
square
#B2C02A #2AC083 #382AC0 #C02A67
split-complementary
#B2C02A #2A67C0 #832AC0
monochromatic
#555C14 #838E1F #B2C02A #CCD84F #DAE381

Accessibility & contrast

On white

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

On black

10.47
#B2C02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C02A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C02A#FFFFFF#000000##000000
##B2C02A1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c02a;
/* rgb */ color: rgb(178, 192, 42);
/* oklch */ color: oklch(77.2% 0.163 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd271',
    500: '#b2c02a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c02a;
$custom-light: #cdd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c02a",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 65.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77162,
    "c": 0.16304,
    "h": 115.1
  },
  "luminance": 0.47331
}

Semantic roles & 50–950 ramp

primary
#B2C02A
secondary
#817ACC
accent
#41E750
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2C02A

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

Preview Lab → · Contrast checker → · Palette generator →

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