#B2CF40#B2CF40

#B2CF40 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.7% C 0.167 H 120.3°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#B2CF40
RGBrgb(178, 207, 64)
HSLhsl(72, 60%, 53%)
HSVhsv(72, 69%, 81%)
CMYKcmyk(14%, 0%, 69.1%, 18.8%)
CIE-LABlab(78.73, -28.70, 64.42)
CIE-LCHlch(78.73, 70.52, 114.01°)
OKLaboklab(80.68% -0.0844 0.1445)
OKLCHoklch(80.68% 0.167 120.3)
XYZxyz(41.5990, 54.4609, 13.1700)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF40 #5D40CF
analogous
#CFA540 #B2CF40 #6ACF40
triadic
#B2CF40 #40B2CF #CF40B2
tetradic
#B2CF40 #40CFA5 #5D40CF #CF406A
square
#B2CF40 #40CFA5 #5D40CF #CF406A
split-complementary
#B2CF40 #406ACF #A540CF
monochromatic
#65771E #8EA82A #B2CF40 #C6DB71 #D9E8A2

Accessibility & contrast

On white

1.77
#B2CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#B2CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CF40
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CF40#FFFFFF#000000##000000
##B2CF401.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#BCC4B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf40;
/* rgb */ color: rgb(178, 207, 64);
/* oklch */ color: oklch(80.7% 0.167 120.3);
Tailwind
colors: {
  custom: {
    50: '#ccdd7d',
    500: '#b2cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf40;
$custom-light: #ccdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf40",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 72.168,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80682,
    "c": 0.16731,
    "h": 120.3
  },
  "luminance": 0.54461
}

Semantic roles & 50–950 ramp

primary
#B2CF40
secondary
#43347F
accent
#45E365
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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