#B2C170#B2C170

#B2C170 is a light, moderate yellow-green. Relative luminance 0.488; OKLCH L 78.1% C 0.107 H 117.5°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#B2C170
RGBrgb(178, 193, 112)
HSLhsl(71, 40%, 60%)
HSVhsv(71, 42%, 76%)
CMYKcmyk(7.8%, 0%, 42%, 24.3%)
CIE-LABlab(75.31, -17.78, 38.99)
CIE-LCHlch(75.31, 42.85, 114.52°)
OKLaboklab(78.09% -0.0493 0.0946)
OKLCHoklch(78.09% 0.107 117.5)
XYZxyz(40.3549, 48.7750, 22.6147)
Luminance0.4878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C170 #7F70C1
analogous
#C1A770 #B2C170 #8AC170
triadic
#B2C170 #70B2C1 #C170B2
tetradic
#B2C170 #70C1A7 #7F70C1 #C1708A
square
#B2C170 #70C1A7 #7F70C1 #C1708A
split-complementary
#B2C170 #708AC1 #A770C1
monochromatic
#727F37 #98AA4A #B2C170 #C9D49B #E0E6C5

Accessibility & contrast

On white

1.95
#B2C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#B2C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C170
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C170#FFFFFF#000000##000000
##B2C1701.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB96A
Deuteranopia (green-blind)
#C9BA74
Tritanopia (blue-blind)
#BAB9AD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c170;
/* rgb */ color: rgb(178, 193, 112);
/* oklch */ color: oklch(78.1% 0.107 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad39a',
    500: '#b2c170',
    950: '#000000',
  },
}
SCSS
$custom: #b2c170;
$custom-light: #cad39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c170",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 71.111,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.10671,
    "h": 117.5
  },
  "luminance": 0.48775
}

Semantic roles & 50–950 ramp

primary
#B2C170
secondary
#BDB7D6
accent
#58CF6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #B2C170

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

Preview Lab → · Contrast checker → · Palette generator →

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