#B2CC47#B2CC47

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

Color values

HEX#B2CC47
RGBrgb(178, 204, 71)
HSLhsl(72, 57%, 54%)
HSVhsv(72, 65%, 80%)
CMYKcmyk(12.7%, 0%, 65.2%, 20%)
CIE-LABlab(77.94, -26.83, 60.91)
CIE-LCHlch(77.94, 66.55, 113.78°)
OKLaboklab(80.06% -0.0785 0.1381)
OKLCHoklch(80.06% 0.159 119.6)
XYZxyz(41.0910, 53.1058, 14.0458)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC47 #6147CC
analogous
#CCA447 #B2CC47 #70CC47
triadic
#B2CC47 #47B2CC #CC47B2
tetradic
#B2CC47 #47CCA4 #6147CC #CC4770
square
#B2CC47 #47CCA4 #6147CC #CC4770
split-complementary
#B2CC47 #4770CC #A447CC
monochromatic
#677721 #90A72E #B2CC47 #C6D977 #DAE7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CC47#FFFFFF#000000##000000
##B2CC471.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)
#D9C135
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#BCC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc47;
/* rgb */ color: rgb(178, 204, 71);
/* oklch */ color: oklch(80.1% 0.159 119.6);
Tailwind
colors: {
  custom: {
    50: '#ccdb81',
    500: '#b2cc47',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc47;
$custom-light: #ccdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc47",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 71.729,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8006,
    "c": 0.15891,
    "h": 119.6
  },
  "luminance": 0.53106
}

Semantic roles & 50–950 ramp

primary
#B2CC47
secondary
#453780
accent
#48E066
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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