#B2C847#B2C847

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

Color values

HEX#B2C847
RGBrgb(178, 200, 71)
HSLhsl(70, 54%, 53%)
HSVhsv(70, 65%, 78%)
CMYKcmyk(11%, 0%, 64.5%, 21.6%)
CIE-LABlab(76.82, -24.91, 59.73)
CIE-LCHlch(76.82, 64.72, 112.63°)
OKLaboklab(79.16% -0.0732 0.1357)
OKLCHoklch(79.16% 0.154 118.3)
XYZxyz(40.1524, 51.2288, 13.7329)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C847 #5D47C8
analogous
#C89E47 #B2C847 #71C847
triadic
#B2C847 #47B2C8 #C847B2
tetradic
#B2C847 #47C89E #5D47C8 #C84771
square
#B2C847 #47C89E #5D47C8 #C84771
split-complementary
#B2C847 #4771C8 #9E47C8
monochromatic
#657222 #8EA230 #B2C847 #C6D676 #D9E4A5

Accessibility & contrast

On white

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

On black

11.25
#B2C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C847
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C847#FFFFFF#000000##000000
##B2C8471.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD36
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#BCBEAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c847;
/* rgb */ color: rgb(178, 200, 71);
/* oklch */ color: oklch(79.2% 0.154 118.3);
Tailwind
colors: {
  custom: {
    50: '#ccd880',
    500: '#b2c847',
    950: '#000000',
  },
}
SCSS
$custom: #b2c847;
$custom-light: #ccd880;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c847",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 70.233,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79159,
    "c": 0.15415,
    "h": 118.3
  },
  "luminance": 0.51228
}

Semantic roles & 50–950 ramp

primary
#B2C847
secondary
#43387B
accent
#4ADD64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C847

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

Preview Lab → · Contrast checker → · Palette generator →

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