#2B7C20#2B7C20

#2B7C20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.149 H 141.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B7C20
RGBrgb(43, 124, 32)
HSLhsl(113, 59%, 31%)
HSVhsv(113, 74%, 49%)
CMYKcmyk(65.3%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.68, -42.57, 40.86)
CIE-LCHlch(45.68, 59.01, 136.18°)
OKLaboklab(51.76% -0.1162 0.0928)
OKLCHoklch(51.76% 0.149 141.4)
XYZxyz(8.4642, 15.0324, 3.8217)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C20 #71207C
analogous
#597C20 #2B7C20 #207C43
triadic
#2B7C20 #202B7C #7C202B
tetradic
#2B7C20 #20597C #71207C #7C4320
square
#2B7C20 #20597C #71207C #7C4320
split-complementary
#2B7C20 #43207C #7C2059
monochromatic
#091B07 #1A4B13 #2B7C20 #3CAD2D #57CF47

Accessibility & contrast

On white

5.24
#2B7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B7C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C20
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C20#FFFFFF#000000##FFFFFF
##2B7C201.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#1D786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7c20;
/* rgb */ color: rgb(43, 124, 32);
/* oklch */ color: oklch(51.8% 0.149 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a361',
    500: '#2b7c20',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c20;
$custom-light: #70a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c20",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 112.826,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.14875,
    "h": 141.4
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#2B7C20
secondary
#A349AF
accent
#46E2CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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