#B2CB79#B2CB79

#B2CB79 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.4% C 0.111 H 122.7°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#B2CB79
RGBrgb(178, 203, 121)
HSLhsl(78, 44%, 64%)
HSVhsv(78, 40%, 80%)
CMYKcmyk(12.3%, 0%, 40.4%, 20.4%)
CIE-LABlab(78.20, -21.71, 38.10)
CIE-LCHlch(78.20, 43.85, 119.68°)
OKLaboklab(80.45% -0.0598 0.0931)
OKLCHoklch(80.45% 0.111 122.7)
XYZxyz(43.1671, 53.5572, 26.1489)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB79 #9279CB
analogous
#CBBB79 #B2CB79 #89CB79
triadic
#B2CB79 #79B2CB #CB79B2
tetradic
#B2CB79 #79CBBB #9279CB #CB7989
square
#B2CB79 #79CBBB #9279CB #CB7989
split-complementary
#B2CB79 #7989CB #BB79CB
monochromatic
#769138 #99BA4D #B2CB79 #CBDCA5 #E5EDD1

Accessibility & contrast

On white

1.79
#B2CB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#B2CB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB79
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB79#FFFFFF#000000##000000
##B2CB791.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D0C17D
Tritanopia (blue-blind)
#B8C4B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cb79;
/* rgb */ color: rgb(178, 203, 121);
/* oklch */ color: oklch(80.4% 0.111 122.7);
Tailwind
colors: {
  custom: {
    50: '#cadaa1',
    500: '#b2cb79',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb79;
$custom-light: #cadaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb79",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 78.293,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80449,
    "c": 0.11064,
    "h": 122.7
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

primary
#B2CB79
secondary
#665098
accent
#2EB758
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13150F
muted
#838480

Preview Lab

Preview with #B2CB79

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

Preview Lab → · Contrast checker → · Palette generator →

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