#B2C02C#B2C02C

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

Color values

HEX#B2C02C
RGBrgb(178, 192, 44)
HSLhsl(66, 63%, 46%)
HSVhsv(66, 77%, 75%)
CMYKcmyk(7.3%, 0%, 77.1%, 24.7%)
CIE-LABlab(74.41, -22.44, 67.06)
CIE-LCHlch(74.41, 70.72, 108.50°)
OKLaboklab(77.17% -0.0688 0.1467)
OKLCHoklch(77.17% 0.162 115.1)
XYZxyz(37.6655, 47.3468, 9.5371)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C02C #3A2CC0
analogous
#C0842C #B2C02C #68C02C
triadic
#B2C02C #2CB2C0 #C02CB2
tetradic
#B2C02C #2CC084 #3A2CC0 #C02C68
square
#B2C02C #2CC084 #3A2CC0 #C02C68
split-complementary
#B2C02C #2C68C0 #842CC0
monochromatic
#565C15 #848E21 #B2C02C #CBD752 #DAE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b2c02c;
/* rgb */ color: rgb(178, 192, 44);
/* oklch */ color: oklch(77.2% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#cdd272',
    500: '#b2c02c',
    950: '#000000',
  },
}
SCSS
$custom: #b2c02c;
$custom-light: #cdd272;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c02c",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 65.676,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77173,
    "c": 0.16206,
    "h": 115.1
  },
  "luminance": 0.47346
}

Semantic roles & 50–950 ramp

primary
#B2C02C
secondary
#837CCC
accent
#42E652
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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