#B2CE40#B2CE40

#B2CE40 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.166 H 120.0°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#B2CE40
RGBrgb(178, 206, 64)
HSLhsl(72, 59%, 53%)
HSVhsv(72, 69%, 81%)
CMYKcmyk(13.6%, 0%, 68.9%, 19.2%)
CIE-LABlab(78.45, -28.22, 64.14)
CIE-LCHlch(78.45, 70.07, 113.75°)
OKLaboklab(80.46% -0.083 0.1439)
OKLCHoklch(80.46% 0.166 120)
XYZxyz(41.3575, 53.9779, 13.0895)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CE40 #5C40CE
analogous
#CEA340 #B2CE40 #6BCE40
triadic
#B2CE40 #40B2CE #CE40B2
tetradic
#B2CE40 #40CEA3 #5C40CE #CE406B
square
#B2CE40 #40CEA3 #5C40CE #CE406B
split-complementary
#B2CE40 #406BCE #A340CE
monochromatic
#64751E #8EA62B #B2CE40 #C6DA71 #D9E7A1

Accessibility & contrast

On white

1.78
#B2CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#B2CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CE40
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CE40#FFFFFF#000000##000000
##B2CE401.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#BCC3B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b2ce40;
/* rgb */ color: rgb(178, 206, 64);
/* oklch */ color: oklch(80.5% 0.166 120.0);
Tailwind
colors: {
  custom: {
    50: '#ccdd7d',
    500: '#b2ce40',
    950: '#000000',
  },
}
SCSS
$custom: #b2ce40;
$custom-light: #ccdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ce40",
  "rgb": {
    "r": 178,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 71.831,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80456,
    "c": 0.16614,
    "h": 120
  },
  "luminance": 0.53978
}

Semantic roles & 50–950 ramp

primary
#B2CE40
secondary
#43347E
accent
#45E264
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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