#2B8B22#2B8B22

#2B8B22 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 141.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B8B22
RGBrgb(43, 139, 34)
HSLhsl(115, 61%, 34%)
HSVhsv(115, 76%, 55%)
CMYKcmyk(69.1%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.80, -47.87, 45.29)
CIE-LCHlch(50.80, 65.90, 136.59°)
OKLaboklab(56.01% -0.1305 0.1023)
OKLCHoklch(56.01% 0.166 141.9)
XYZxyz(10.5170, 19.0932, 4.6442)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B22 #82228B
analogous
#608B22 #2B8B22 #228B4E
triadic
#2B8B22 #222B8B #8B222B
tetradic
#2B8B22 #22608B #82228B #8B4E22
square
#2B8B22 #22608B #82228B #8B4E22
split-complementary
#2B8B22 #4E228B #8B2260
monochromatic
#0D290A #1C5A16 #2B8B22 #3ABC2E #5ED553

Accessibility & contrast

On white

4.36
#2B8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2B8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B22
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B22#FFFFFF#000000##000000
##2B8B221.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#158777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b22;
/* rgb */ color: rgb(43, 139, 34);
/* oklch */ color: oklch(56.0% 0.166 141.9);
Tailwind
colors: {
  custom: {
    50: '#73ae64',
    500: '#2b8b22',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b22;
$custom-light: #73ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b22",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 114.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.1658,
    "h": 141.9
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#2B8B22
secondary
#B050B8
accent
#44E4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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