#2B7020#2B7020

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

Color values

HEX#2B7020
RGBrgb(43, 112, 32)
HSLhsl(112, 56%, 28%)
HSVhsv(112, 71%, 44%)
CMYKcmyk(61.6%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.54, -37.93, 36.54)
CIE-LCHlch(41.54, 52.67, 136.08°)
OKLaboklab(48.35% -0.1037 0.0837)
OKLCHoklch(48.35% 0.133 141.1)
XYZxyz(7.0508, 12.2056, 3.3506)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7020 #652070
analogous
#537020 #2B7020 #20703D
triadic
#2B7020 #202B70 #70202B
tetradic
#2B7020 #205370 #652070 #703D20
square
#2B7020 #205370 #652070 #703D20
split-complementary
#2B7020 #3D2070 #702053
monochromatic
#091807 #194012 #2B7020 #3DA02E #54C942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7020#FFFFFF#000000##FFFFFF
##2B70201.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)
#736615
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7020;
/* rgb */ color: rgb(43, 112, 32);
/* oklch */ color: oklch(48.3% 0.133 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a60',
    500: '#2b7020',
    950: '#000000',
  },
}
SCSS
$custom: #2b7020;
$custom-light: #6d9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7020",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 111.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.13329,
    "h": 141.1
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#2B7020
secondary
#9748A4
accent
#49DFCA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7020

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

Preview Lab → · Contrast checker → · Palette generator →

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