#B2CA7C#B2CA7C

#B2CA7C is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.3% C 0.106 H 122.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B2CA7C
RGBrgb(178, 202, 124)
HSLhsl(78, 42%, 64%)
HSVhsv(78, 39%, 79%)
CMYKcmyk(11.9%, 0%, 38.6%, 20.8%)
CIE-LABlab(77.97, -20.85, 36.28)
CIE-LCHlch(77.97, 41.85, 119.89°)
OKLaboklab(80.28% -0.0572 0.089)
OKLCHoklch(80.28% 0.106 122.7)
XYZxyz(43.1186, 53.1612, 27.0544)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA7C #947CCA
analogous
#CABB7C #B2CA7C #8BCA7C
triadic
#B2CA7C #7CB2CA #CA7CB2
tetradic
#B2CA7C #7CCABB #947CCA #CA7C8B
square
#B2CA7C #7CCABB #947CCA #CA7C8B
split-complementary
#B2CA7C #7C8BCA #BB7CCA
monochromatic
#76913B #98B850 #B2CA7C #CCDCA8 #E5EDD3

Accessibility & contrast

On white

1.81
#B2CA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#B2CA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA7C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA7C#FFFFFF#000000##000000
##B2CA7C1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C176
Deuteranopia (green-blind)
#CFC180
Tritanopia (blue-blind)
#B8C3B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2ca7c;
/* rgb */ color: rgb(178, 202, 124);
/* oklch */ color: oklch(80.3% 0.106 122.7);
Tailwind
colors: {
  custom: {
    50: '#cadaa3',
    500: '#b2ca7c',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca7c;
$custom-light: #cadaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca7c",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 78.462,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.10583,
    "h": 122.7
  },
  "luminance": 0.53161
}

Semantic roles & 50–950 ramp

primary
#B2CA7C
secondary
#685298
accent
#30B559
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140F
muted
#838380

Preview Lab

Preview with #B2CA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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