#B2C846#B2C846

#B2C846 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.2% C 0.155 H 118.3°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#B2C846
RGBrgb(178, 200, 70)
HSLhsl(70, 54%, 53%)
HSVhsv(70, 65%, 78%)
CMYKcmyk(11%, 0%, 65%, 21.6%)
CIE-LABlab(76.81, -24.97, 60.13)
CIE-LCHlch(76.81, 65.11, 112.55°)
OKLaboklab(79.15% -0.0735 0.1364)
OKLCHoklch(79.15% 0.155 118.3)
XYZxyz(40.1206, 51.2161, 13.5653)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C846 #5C46C8
analogous
#C89D46 #B2C846 #71C846
triadic
#B2C846 #46B2C8 #C846B2
tetradic
#B2C846 #46C89D #5C46C8 #C84671
square
#B2C846 #46C89D #5C46C8 #C84671
split-complementary
#B2C846 #4671C8 #9D46C8
monochromatic
#647222 #8EA130 #B2C846 #C6D675 #D9E4A4

Accessibility & contrast

On white

1.87
#B2C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#B2C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C846
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C846#FFFFFF#000000##000000
##B2C8461.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD34
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#BCBDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c846;
/* rgb */ color: rgb(178, 200, 70);
/* oklch */ color: oklch(79.2% 0.155 118.3);
Tailwind
colors: {
  custom: {
    50: '#ccd880',
    500: '#b2c846',
    950: '#000000',
  },
}
SCSS
$custom: #b2c846;
$custom-light: #ccd880;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c846",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 70.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79151,
    "c": 0.15489,
    "h": 118.3
  },
  "luminance": 0.51216
}

Semantic roles & 50–950 ramp

primary
#B2C846
secondary
#43377B
accent
#4ADE63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C846

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

Preview Lab → · Contrast checker → · Palette generator →

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