#B2CA40#B2CA40

#B2CA40 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.161 H 118.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B2CA40
RGBrgb(178, 202, 64)
HSLhsl(70, 57%, 52%)
HSVhsv(70, 68%, 79%)
CMYKcmyk(11.9%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.33, -26.31, 63.00)
CIE-LCHlch(77.33, 68.28, 112.66°)
OKLaboklab(79.55% -0.0777 0.1415)
OKLCHoklch(79.55% 0.161 118.8)
XYZxyz(40.4068, 52.0765, 12.7726)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA40 #5840CA
analogous
#CA9D40 #B2CA40 #6DCA40
triadic
#B2CA40 #40B2CA #CA40B2
tetradic
#B2CA40 #40CA9D #5840CA #CA406D
square
#B2CA40 #40CA9D #5840CA #CA406D
split-complementary
#B2CA40 #406DCA #9D40CA
monochromatic
#62701F #8CA02C #B2CA40 #C5D770 #D9E5A0

Accessibility & contrast

On white

1.84
#B2CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B2CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA40
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA40#FFFFFF#000000##000000
##B2CA401.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D4C04B
Tritanopia (blue-blind)
#BCBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca40;
/* rgb */ color: rgb(178, 202, 64);
/* oklch */ color: oklch(79.6% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#ccda7d',
    500: '#b2ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca40;
$custom-light: #ccda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca40",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 70.435,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79552,
    "c": 0.16147,
    "h": 118.8
  },
  "luminance": 0.52076
}

Semantic roles & 50–950 ramp

primary
#B2CA40
secondary
#41357A
accent
#48E062
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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