#2B8F22#2B8F22

#2B8F22 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 141.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B8F22
RGBrgb(43, 143, 34)
HSLhsl(115, 62%, 35%)
HSVhsv(115, 76%, 56%)
CMYKcmyk(69.9%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.14, -49.28, 46.64)
CIE-LCHlch(52.14, 67.85, 136.58°)
OKLaboklab(57.13% -0.1343 0.1052)
OKLCHoklch(57.13% 0.171 141.9)
XYZxyz(11.1068, 20.2728, 4.8408)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F22 #86228F
analogous
#628F22 #2B8F22 #228F50
triadic
#2B8F22 #222B8F #8F222B
tetradic
#2B8F22 #22628F #86228F #8F5022
square
#2B8F22 #22628F #86228F #8F5022
split-complementary
#2B8F22 #50228F #8F2262
monochromatic
#0D2C0A #1C5E16 #2B8F22 #3AC02E #60D755

Accessibility & contrast

On white

4.15
#2B8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2B8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F22#FFFFFF#000000##000000
##2B8F221.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#138A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f22;
/* rgb */ color: rgb(43, 143, 34);
/* oklch */ color: oklch(57.1% 0.171 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2b8f22',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f22;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f22",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 115.046,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.17054,
    "h": 141.9
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#2B8F22
secondary
#B252BA
accent
#43E5D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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