#B2C970#B2C970

#B2C970 is a light, moderate yellow-green. Relative luminance 0.524; OKLCH L 79.9% C 0.118 H 121.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#B2C970
RGBrgb(178, 201, 112)
HSLhsl(76, 45%, 61%)
HSVhsv(76, 44%, 79%)
CMYKcmyk(11.4%, 0%, 44.3%, 21.2%)
CIE-LABlab(77.52, -21.77, 41.76)
CIE-LCHlch(77.52, 47.09, 117.53°)
OKLaboklab(79.86% -0.0606 0.1009)
OKLCHoklch(79.86% 0.118 121)
XYZxyz(42.1715, 52.4082, 23.2202)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C970 #8770C9
analogous
#C9B470 #B2C970 #86C970
triadic
#B2C970 #70B2C9 #C970B2
tetradic
#B2C970 #70C9B4 #8770C9 #C97086
square
#B2C970 #70C9B4 #8770C9 #C97086
split-complementary
#B2C970 #7086C9 #B470C9
monochromatic
#748A34 #99B745 #B2C970 #CADA9C #E2EBC9

Accessibility & contrast

On white

1.83
#B2C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#B2C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C970
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C970#FFFFFF#000000##000000
##B2C9701.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#D0C075
Tritanopia (blue-blind)
#B9C1B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2c970;
/* rgb */ color: rgb(178, 201, 112);
/* oklch */ color: oklch(79.9% 0.118 121.0);
Tailwind
colors: {
  custom: {
    50: '#cad99a',
    500: '#b2c970',
    950: '#000000',
  },
}
SCSS
$custom: #b2c970;
$custom-light: #cad99a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c970",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 75.506,
    "s": 45.178,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79865,
    "c": 0.11765,
    "h": 121
  },
  "luminance": 0.52408
}

Semantic roles & 50–950 ramp

primary
#B2C970
secondary
#5E4C92
accent
#2DB851
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140E
muted
#83837F

Preview Lab

Preview with #B2C970

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

Preview Lab → · Contrast checker → · Palette generator →

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