#B2C845#B2C845

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

Color values

HEX#B2C845
RGBrgb(178, 200, 69)
HSLhsl(70, 54%, 53%)
HSVhsv(70, 66%, 78%)
CMYKcmyk(11%, 0%, 65.5%, 21.6%)
CIE-LABlab(76.80, -25.04, 60.52)
CIE-LCHlch(76.80, 65.49, 112.47°)
OKLaboklab(79.14% -0.0737 0.137)
OKLCHoklch(79.14% 0.156 118.3)
XYZxyz(40.0893, 51.2035, 13.4004)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C845 #5B45C8
analogous
#C89C45 #B2C845 #71C845
triadic
#B2C845 #45B2C8 #C845B2
tetradic
#B2C845 #45C89C #5B45C8 #C84571
square
#B2C845 #45C89C #5B45C8 #C84571
split-complementary
#B2C845 #4571C8 #9C45C8
monochromatic
#647121 #8DA02F #B2C845 #C6D674 #D9E4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C845#FFFFFF#000000##000000
##B2C8451.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)
#D5BD33
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#BCBDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c845;
/* rgb */ color: rgb(178, 200, 69);
/* oklch */ color: oklch(79.1% 0.156 118.3);
Tailwind
colors: {
  custom: {
    50: '#ccd87f',
    500: '#b2c845',
    950: '#000000',
  },
}
SCSS
$custom: #b2c845;
$custom-light: #ccd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c845",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 70.076,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79142,
    "c": 0.15562,
    "h": 118.3
  },
  "luminance": 0.51203
}

Semantic roles & 50–950 ramp

primary
#B2C845
secondary
#42377A
accent
#4ADE63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C845

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

Preview Lab → · Contrast checker → · Palette generator →

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