#B2CB48#B2CB48

#B2CB48 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.157 H 119.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#B2CB48
RGBrgb(178, 203, 72)
HSLhsl(71, 56%, 54%)
HSVhsv(71, 65%, 80%)
CMYKcmyk(12.3%, 0%, 64.5%, 20.4%)
CIE-LABlab(77.66, -26.29, 60.22)
CIE-LCHlch(77.66, 65.70, 113.58°)
OKLaboklab(79.84% -0.0769 0.1368)
OKLCHoklch(79.84% 0.157 119.3)
XYZxyz(40.8864, 52.6450, 14.1372)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB48 #6148CB
analogous
#CBA348 #B2CB48 #71CB48
triadic
#B2CB48 #48B2CB #CB48B2
tetradic
#B2CB48 #48CBA3 #6148CB #CB4871
square
#B2CB48 #48CBA3 #6148CB #CB4871
split-complementary
#B2CB48 #4871CB #A348CB
monochromatic
#677722 #90A62F #B2CB48 #C6D978 #DAE6A7

Accessibility & contrast

On white

1.82
#B2CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#B2CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB48
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB48#FFFFFF#000000##000000
##B2CB481.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#BCC1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb48;
/* rgb */ color: rgb(178, 203, 72);
/* oklch */ color: oklch(79.8% 0.157 119.3);
Tailwind
colors: {
  custom: {
    50: '#ccda81',
    500: '#b2cb48',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb48;
$custom-light: #ccda81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb48",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 71.45,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79843,
    "c": 0.15697,
    "h": 119.3
  },
  "luminance": 0.52645
}

Semantic roles & 50–950 ramp

primary
#B2CB48
secondary
#45387F
accent
#49DF65
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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