#2B8223#2B8223

#2B8223 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.154 H 141.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B8223
RGBrgb(43, 130, 35)
HSLhsl(115, 58%, 32%)
HSVhsv(115, 73%, 51%)
CMYKcmyk(66.9%, 0%, 73.1%, 49%)
CIE-LABlab(47.75, -44.54, 41.78)
CIE-LCHlch(47.75, 61.07, 136.83°)
OKLaboklab(53.49% -0.1214 0.0951)
OKLCHoklch(53.49% 0.154 141.9)
XYZxyz(9.2818, 16.5993, 4.3046)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8223 #7A2382
analogous
#5B8223 #2B8223 #23824A
triadic
#2B8223 #232B82 #82232B
tetradic
#2B8223 #235B82 #7A2382 #824A23
square
#2B8223 #235B82 #7A2382 #824A23
split-complementary
#2B8223 #4A2382 #82235B
monochromatic
#0B2209 #1B5216 #2B8223 #3BB230 #5AD050

Accessibility & contrast

On white

4.86
#2B8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B8223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8223
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8223#FFFFFF#000000##FFFFFF
##2B82231.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1A7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8223;
/* rgb */ color: rgb(43, 130, 35);
/* oklch */ color: oklch(53.5% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#71a764',
    500: '#2b8223',
    950: '#000000',
  },
}
SCSS
$custom: #2b8223;
$custom-light: #71a764;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8223",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 114.947,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.15423,
    "h": 141.9
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#2B8223
secondary
#AB4DB3
accent
#47E1D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8223

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

Preview Lab → · Contrast checker → · Palette generator →

#2B8223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva