#B2C848#B2C848

#B2C848 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.2% C 0.153 H 118.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B2C848
RGBrgb(178, 200, 72)
HSLhsl(70, 54%, 53%)
HSVhsv(70, 64%, 78%)
CMYKcmyk(11%, 0%, 64%, 21.6%)
CIE-LABlab(76.83, -24.84, 59.33)
CIE-LCHlch(76.83, 64.32, 112.72°)
OKLaboklab(79.17% -0.0729 0.135)
OKLCHoklch(79.17% 0.153 118.4)
XYZxyz(40.1848, 51.2417, 13.9033)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C848 #5E48C8
analogous
#C89E48 #B2C848 #72C848
triadic
#B2C848 #48B2C8 #C848B2
tetradic
#B2C848 #48C89E #5E48C8 #C84872
square
#B2C848 #48C89E #5E48C8 #C84872
split-complementary
#B2C848 #4872C8 #9E48C8
monochromatic
#657323 #8FA231 #B2C848 #C6D677 #DAE4A6

Accessibility & contrast

On white

1.87
#B2C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#B2C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C848
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C848#FFFFFF#000000##000000
##B2C8481.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD37
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#BCBEAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c848;
/* rgb */ color: rgb(178, 200, 72);
/* oklch */ color: oklch(79.2% 0.153 118.4);
Tailwind
colors: {
  custom: {
    50: '#ccd881',
    500: '#b2c848',
    950: '#000000',
  },
}
SCSS
$custom: #b2c848;
$custom-light: #ccd881;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c848",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 70.313,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79168,
    "c": 0.15339,
    "h": 118.4
  },
  "luminance": 0.51241
}

Semantic roles & 50–950 ramp

primary
#B2C848
secondary
#44387C
accent
#4BDD64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C848

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

Preview Lab → · Contrast checker → · Palette generator →

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