#B2C02B#B2C02B

#B2C02B 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#B2C02B
RGBrgb(178, 192, 43)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 78%, 75%)
CMYKcmyk(7.3%, 0%, 77.6%, 24.7%)
CIE-LABlab(74.41, -22.48, 67.36)
CIE-LCHlch(74.41, 71.01, 108.46°)
OKLaboklab(77.17% -0.069 0.1472)
OKLCHoklch(77.17% 0.163 115.1)
XYZxyz(37.6469, 47.3393, 9.4392)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C02B #392BC0
analogous
#C0832B #B2C02B #67C02B
triadic
#B2C02B #2BB2C0 #C02BB2
tetradic
#B2C02B #2BC083 #392BC0 #C02B67
square
#B2C02B #2BC083 #392BC0 #C02B67
split-complementary
#B2C02B #2B67C0 #832BC0
monochromatic
#555C15 #848E20 #B2C02B #CBD850 #DAE382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C02B#FFFFFF#000000##000000
##B2C02B1.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)
#CDB839
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c02b;
/* rgb */ color: rgb(178, 192, 43);
/* oklch */ color: oklch(77.2% 0.163 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd271',
    500: '#b2c02b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c02b;
$custom-light: #cdd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c02b",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 65.638,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77167,
    "c": 0.16256,
    "h": 115.1
  },
  "luminance": 0.47339
}

Semantic roles & 50–950 ramp

primary
#B2C02B
secondary
#827BCC
accent
#41E651
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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