#2B7022#2B7022

#2B7022 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.132 H 141.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2B7022
RGBrgb(43, 112, 34)
HSLhsl(113, 53%, 29%)
HSVhsv(113, 70%, 44%)
CMYKcmyk(61.6%, 0%, 69.6%, 56.1%)
CIE-LABlab(41.56, -37.73, 35.66)
CIE-LCHlch(41.56, 51.92, 136.62°)
OKLaboklab(48.37% -0.103 0.0822)
OKLCHoklch(48.37% 0.132 141.4)
XYZxyz(7.0788, 12.2168, 3.4981)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7022 #672270
analogous
#527022 #2B7022 #227040
triadic
#2B7022 #222B70 #70222B
tetradic
#2B7022 #225270 #672270 #704022
square
#2B7022 #225270 #672270 #704022
split-complementary
#2B7022 #402270 #702252
monochromatic
#091707 #194114 #2B7022 #3D9F30 #55C746

Accessibility & contrast

On white

6.10
#2B7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2B7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7022
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7022#FFFFFF#000000##FFFFFF
##2B70221.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7022;
/* rgb */ color: rgb(43, 112, 34);
/* oklch */ color: oklch(48.4% 0.132 141.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a61',
    500: '#2b7022',
    950: '#000000',
  },
}
SCSS
$custom: #2b7022;
$custom-light: #6d9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7022",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 113.077,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.13176,
    "h": 141.4
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#2B7022
secondary
#994AA3
accent
#4BDDCC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7022

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

Preview Lab → · Contrast checker → · Palette generator →

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