#2B7920#2B7920

#2B7920 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.145 H 141.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2B7920
RGBrgb(43, 121, 32)
HSLhsl(113, 58%, 30%)
HSVhsv(113, 74%, 47%)
CMYKcmyk(64.5%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.65, -41.44, 39.80)
CIE-LCHlch(44.65, 57.45, 136.16°)
OKLaboklab(50.91% -0.1132 0.0906)
OKLCHoklch(50.91% 0.145 141.3)
XYZxyz(8.0939, 14.2918, 3.6983)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7920 #6E2079
analogous
#587920 #2B7920 #207941
triadic
#2B7920 #202B79 #79202B
tetradic
#2B7920 #205879 #6E2079 #794120
square
#2B7920 #205879 #6E2079 #794120
split-complementary
#2B7920 #412079 #792058
monochromatic
#091806 #1A4913 #2B7920 #3CA92D #56CE45

Accessibility & contrast

On white

5.44
#2B7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7920
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7920#FFFFFF#000000##FFFFFF
##2B79201.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#1E7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7920;
/* rgb */ color: rgb(43, 121, 32);
/* oklch */ color: oklch(50.9% 0.145 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa061',
    500: '#2b7920',
    950: '#000000',
  },
}
SCSS
$custom: #2b7920;
$custom-light: #6fa061;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7920",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 112.584,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.14496,
    "h": 141.3
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#2B7920
secondary
#A049AC
accent
#46E1CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B7920

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

Preview Lab → · Contrast checker → · Palette generator →

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