#2B8B20#2B8B20

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

Color values

HEX#2B8B20
RGBrgb(43, 139, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(69.1%, 0%, 77%, 45.5%)
CIE-LABlab(50.78, -48.03, 46.01)
CIE-LCHlch(50.78, 66.51, 136.23°)
OKLaboklab(55.99% -0.131 0.1036)
OKLCHoklch(55.99% 0.167 141.7)
XYZxyz(10.4890, 19.0820, 4.4966)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B20 #80208B
analogous
#608B20 #2B8B20 #208B4A
triadic
#2B8B20 #202B8B #8B202B
tetradic
#2B8B20 #20608B #80208B #8B4A20
square
#2B8B20 #20608B #80208B #8B4A20
split-complementary
#2B8B20 #4A208B #8B2060
monochromatic
#0C2809 #1C5915 #2B8B20 #3ABD2B #5DD64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8B20#FFFFFF#000000##000000
##2B8B201.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)
#8E7E09
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#168777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b20;
/* rgb */ color: rgb(43, 139, 32);
/* oklch */ color: oklch(56.0% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ae63',
    500: '#2b8b20',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b20;
$custom-light: #73ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b20",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 113.832,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.16698,
    "h": 141.7
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#2B8B20
secondary
#AE4DBA
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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