#B2CF52#B2CF52

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

Color values

HEX#B2CF52
RGBrgb(178, 207, 82)
HSLhsl(74, 57%, 57%)
HSVhsv(74, 60%, 81%)
CMYKcmyk(14%, 0%, 60.4%, 18.8%)
CIE-LABlab(78.87, -27.48, 57.34)
CIE-LCHlch(78.87, 63.58, 115.61°)
OKLaboklab(80.84% -0.0793 0.1321)
OKLCHoklch(80.84% 0.154 121)
XYZxyz(42.1964, 54.6999, 16.3162)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CF52 #6F52CF
analogous
#CFAE52 #B2CF52 #74CF52
triadic
#B2CF52 #52B2CF #CF52B2
tetradic
#B2CF52 #52CFAE #6F52CF #CF5274
square
#B2CF52 #52CFAE #6F52CF #CF5274
split-complementary
#B2CF52 #5274CF #AE52CF
monochromatic
#6D8224 #94B231 #B2CF52 #C7DC82 #DDEAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CF52#FFFFFF#000000##000000
##B2CF521.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)
#DBC444
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cf52;
/* rgb */ color: rgb(178, 207, 82);
/* oklch */ color: oklch(80.8% 0.154 121.0);
Tailwind
colors: {
  custom: {
    50: '#ccdd87',
    500: '#b2cf52',
    950: '#000000',
  },
}
SCSS
$custom: #b2cf52;
$custom-light: #ccdd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cf52",
  "rgb": {
    "r": 178,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 73.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.15404,
    "h": 121
  },
  "luminance": 0.547
}

Semantic roles & 50–950 ramp

primary
#B2CF52
secondary
#4E3C8A
accent
#48E06B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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