#B2C766#B2C766

#B2C766 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.3% C 0.125 H 119.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B2C766
RGBrgb(178, 199, 102)
HSLhsl(73, 46%, 59%)
HSVhsv(73, 49%, 78%)
CMYKcmyk(10.6%, 0%, 48.7%, 22%)
CIE-LABlab(76.84, -21.84, 45.83)
CIE-LCHlch(76.84, 50.77, 115.48°)
OKLaboklab(79.28% -0.0616 0.1092)
OKLCHoklch(79.28% 0.125 119.4)
XYZxyz(41.1821, 51.2713, 20.2946)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C766 #7B66C7
analogous
#C7AC66 #B2C766 #82C766
triadic
#B2C766 #66B2C7 #C766B2
tetradic
#B2C766 #66C7AC #7B66C7 #C76682
square
#B2C766 #66C7AC #7B66C7 #C76682
split-complementary
#B2C766 #6682C7 #AC66C7
monochromatic
#718330 #97B040 #B2C766 #C9D793 #DFE8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C766#FFFFFF#000000##000000
##B2C7661.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)
#D2BE5D
Deuteranopia (green-blind)
#CFBE6B
Tritanopia (blue-blind)
#BABEB1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c766;
/* rgb */ color: rgb(178, 199, 102);
/* oklch */ color: oklch(79.3% 0.125 119.4);
Tailwind
colors: {
  custom: {
    50: '#cbd894',
    500: '#b2c766',
    950: '#000000',
  },
}
SCSS
$custom: #b2c766;
$custom-light: #cbd894;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c766",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 102
  },
  "hsl": {
    "h": 72.99,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79278,
    "c": 0.12538,
    "h": 119.4
  },
  "luminance": 0.51271
}

Semantic roles & 50–950 ramp

primary
#B2C766
secondary
#55478B
accent
#52D66E
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #B2C766

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

Preview Lab → · Contrast checker → · Palette generator →

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