#B2C28F#B2C28F

#B2C28F is a light, moderate yellow-green. Relative luminance 0.500; OKLCH L 78.9% C 0.071 H 122.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B2C28F
RGBrgb(178, 194, 143)
HSLhsl(79, 29%, 66%)
HSVhsv(79, 26%, 76%)
CMYKcmyk(8.2%, 0%, 26.3%, 23.9%)
CIE-LABlab(76.09, -14.26, 23.90)
CIE-LCHlch(76.09, 27.83, 120.83°)
OKLaboklab(78.88% -0.038 0.0604)
OKLCHoklch(78.88% 0.071 122.2)
XYZxyz(42.6093, 50.0317, 33.3936)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C28F #9F8FC2
analogous
#C2B88F #B2C28F #98C28F
triadic
#B2C28F #8FB2C2 #C28FB2
tetradic
#B2C28F #8FC2B8 #9F8FC2 #C28F98
square
#B2C28F #8FC2B8 #9F8FC2 #C28F98
split-complementary
#B2C28F #8F98C2 #B88FC2
monochromatic
#778B4C #97AC67 #B2C28F #CDD8B7 #E8EDDE

Accessibility & contrast

On white

1.91
#B2C28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#B2C28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C28F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C28F#FFFFFF#000000##000000
##B2C28F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BC8C
Deuteranopia (green-blind)
#C6BC91
Tritanopia (blue-blind)
#B6BDB4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c28f;
/* rgb */ color: rgb(178, 194, 143);
/* oklch */ color: oklch(78.9% 0.071 122.2);
Tailwind
colors: {
  custom: {
    50: '#c9d4b0',
    500: '#b2c28f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c28f;
$custom-light: #c9d4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c28f",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 143
  },
  "hsl": {
    "h": 78.824,
    "s": 29.48,
    "l": 66.078
  },
  "oklch": {
    "l": 0.78879,
    "c": 0.07133,
    "h": 122.2
  },
  "luminance": 0.50032
}

Semantic roles & 50–950 ramp

primary
#B2C28F
secondary
#716194
accent
#3DA85F
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #B2C28F

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

Preview Lab → · Contrast checker → · Palette generator →

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