#B2CF51#B2CF51

#B2CF51 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.155 H 120.9°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#B2CF51
RGBrgb(178, 207, 81)
HSLhsl(74, 57%, 56%)
HSVhsv(74, 61%, 81%)
CMYKcmyk(14%, 0%, 60.9%, 18.8%)
CIE-LABlab(78.86, -27.56, 57.75)
CIE-LCHlch(78.86, 63.99, 115.51°)
OKLaboklab(80.83% -0.0796 0.1328)
OKLCHoklch(80.83% 0.155 120.9)
XYZxyz(42.1586, 54.6848, 16.1172)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF51 #6E51CF
analogous
#CFAD51 #B2CF51 #73CF51
triadic
#B2CF51 #51B2CF #CF51B2
tetradic
#B2CF51 #51CFAD #6E51CF #CF5173
square
#B2CF51 #51CFAD #6E51CF #CF5173
split-complementary
#B2CF51 #5173CF #AD51CF
monochromatic
#6C8224 #94B231 #B2CF51 #C7DC81 #DCE9B1

Accessibility & contrast

On white

1.76
#B2CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#B2CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CF51
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CF51#FFFFFF#000000##000000
##B2CF511.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf51;
/* rgb */ color: rgb(178, 207, 81);
/* oklch */ color: oklch(80.8% 0.155 120.9);
Tailwind
colors: {
  custom: {
    50: '#ccdd87',
    500: '#b2cf51',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf51;
$custom-light: #ccdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf51",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 73.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80828,
    "c": 0.15486,
    "h": 120.9
  },
  "luminance": 0.54685
}

Semantic roles & 50–950 ramp

primary
#B2CF51
secondary
#4D3B89
accent
#48E06B
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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