#B2C945#B2C945

#B2C945 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.4% C 0.157 H 118.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B2C945
RGBrgb(178, 201, 69)
HSLhsl(70, 55%, 53%)
HSVhsv(70, 66%, 79%)
CMYKcmyk(11.4%, 0%, 65.7%, 21.2%)
CIE-LABlab(77.08, -25.52, 60.81)
CIE-LCHlch(77.08, 65.95, 112.77°)
OKLaboklab(79.37% -0.0751 0.1377)
OKLCHoklch(79.37% 0.157 118.6)
XYZxyz(40.3217, 51.6682, 13.4779)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C945 #5C45C9
analogous
#C99E45 #B2C945 #70C945
triadic
#B2C945 #45B2C9 #C945B2
tetradic
#B2C945 #45C99E #5C45C9 #C94570
square
#B2C945 #45C99E #5C45C9 #C94570
split-complementary
#B2C945 #4570C9 #9E45C9
monochromatic
#647221 #8EA22F #B2C945 #C6D774 #D9E5A4

Accessibility & contrast

On white

1.85
#B2C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B2C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C945
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C945#FFFFFF#000000##000000
##B2C9451.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c945;
/* rgb */ color: rgb(178, 201, 69);
/* oklch */ color: oklch(79.4% 0.157 118.6);
Tailwind
colors: {
  custom: {
    50: '#ccd97f',
    500: '#b2c945',
    950: '#000000',
  },
}
SCSS
$custom: #b2c945;
$custom-light: #ccd97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c945",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 70.455,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.15681,
    "h": 118.6
  },
  "luminance": 0.51668
}

Semantic roles & 50–950 ramp

primary
#B2C945
secondary
#43377B
accent
#49DE63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C945

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

Preview Lab → · Contrast checker → · Palette generator →

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