#2B8E22#2B8E22

#2B8E22 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.169 H 141.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8E22
RGBrgb(43, 142, 34)
HSLhsl(115, 61%, 35%)
HSVhsv(115, 76%, 56%)
CMYKcmyk(69.7%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.81, -48.93, 46.30)
CIE-LCHlch(51.81, 67.36, 136.58°)
OKLaboklab(56.85% -0.1333 0.1045)
OKLCHoklch(56.85% 0.169 141.9)
XYZxyz(10.9574, 19.9739, 4.7910)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E22 #85228E
analogous
#618E22 #2B8E22 #228E4F
triadic
#2B8E22 #222B8E #8E222B
tetradic
#2B8E22 #22618E #85228E #8E4F22
square
#2B8E22 #22618E #85228E #8E4F22
split-complementary
#2B8E22 #4F228E #8E2261
monochromatic
#0D2B0A #1C5D16 #2B8E22 #3ABF2E #5FD654

Accessibility & contrast

On white

4.20
#2B8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2B8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E22
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E22#FFFFFF#000000##000000
##2B8E221.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#138A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e22;
/* rgb */ color: rgb(43, 142, 34);
/* oklch */ color: oklch(56.8% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#73b065',
    500: '#2b8e22',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e22;
$custom-light: #73b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e22",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 115,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.16936,
    "h": 141.9
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#2B8E22
secondary
#B152BA
accent
#43E4D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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