#B2CC54#B2CC54

#B2CC54 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.2% C 0.149 H 120.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B2CC54
RGBrgb(178, 204, 84)
HSLhsl(73, 54%, 56%)
HSVhsv(73, 59%, 80%)
CMYKcmyk(12.7%, 0%, 58.8%, 20%)
CIE-LABlab(78.05, -25.89, 55.56)
CIE-LCHlch(78.05, 61.29, 114.98°)
OKLaboklab(80.18% -0.0747 0.1285)
OKLCHoklch(80.18% 0.149 120.2)
XYZxyz(41.5537, 53.2909, 16.4829)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC54 #6E54CC
analogous
#CCAA54 #B2CC54 #76CC54
triadic
#B2CC54 #54B2CC #CC54B2
tetradic
#B2CC54 #54CCAA #6E54CC #CC5476
square
#B2CC54 #54CCAA #6E54CC #CC5476
split-complementary
#B2CC54 #5476CC #AA54CC
monochromatic
#6C8026 #94AF34 #B2CC54 #C7DA83 #DCE8B2

Accessibility & contrast

On white

1.80
#B2CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B2CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC54
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC54#FFFFFF#000000##000000
##B2CC541.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C147
Deuteranopia (green-blind)
#D5C15C
Tritanopia (blue-blind)
#BBC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc54;
/* rgb */ color: rgb(178, 204, 84);
/* oklch */ color: oklch(80.2% 0.149 120.2);
Tailwind
colors: {
  custom: {
    50: '#cbdb88',
    500: '#b2cc54',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc54;
$custom-light: #cbdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc54",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 73,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.14862,
    "h": 120.2
  },
  "luminance": 0.53291
}

Semantic roles & 50–950 ramp

primary
#B2CC54
secondary
#4D3D87
accent
#4ADD6A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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