#B2CC46#B2CC46

#B2CC46 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.1% C 0.160 H 119.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B2CC46
RGBrgb(178, 204, 70)
HSLhsl(72, 57%, 54%)
HSVhsv(72, 66%, 80%)
CMYKcmyk(12.7%, 0%, 65.7%, 20%)
CIE-LABlab(77.93, -26.90, 61.30)
CIE-LCHlch(77.93, 66.94, 113.69°)
OKLaboklab(80.05% -0.0788 0.1388)
OKLCHoklch(80.05% 0.16 119.6)
XYZxyz(41.0591, 53.0931, 13.8781)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC46 #6046CC
analogous
#CCA346 #B2CC46 #6FCC46
triadic
#B2CC46 #46B2CC #CC46B2
tetradic
#B2CC46 #46CCA3 #6046CC #CC466F
square
#B2CC46 #46CCA3 #6046CC #CC466F
split-complementary
#B2CC46 #466FCC #A346CC
monochromatic
#667721 #8FA72E #B2CC46 #C6D976 #DAE6A6

Accessibility & contrast

On white

1.81
#B2CC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B2CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC46
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC46#FFFFFF#000000##000000
##B2CC461.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C133
Deuteranopia (green-blind)
#D6C150
Tritanopia (blue-blind)
#BCC1B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc46;
/* rgb */ color: rgb(178, 204, 70);
/* oklch */ color: oklch(80.1% 0.160 119.6);
Tailwind
colors: {
  custom: {
    50: '#ccdb80',
    500: '#b2cc46',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc46;
$custom-light: #ccdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc46",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 71.642,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80051,
    "c": 0.15964,
    "h": 119.6
  },
  "luminance": 0.53093
}

Semantic roles & 50–950 ramp

primary
#B2CC46
secondary
#45377F
accent
#48E065
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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