#2B7C1E#2B7C1E

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

Color values

HEX#2B7C1E
RGBrgb(43, 124, 30)
HSLhsl(112, 61%, 30%)
HSVhsv(112, 76%, 49%)
CMYKcmyk(65.3%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.66, -42.74, 41.64)
CIE-LCHlch(45.66, 59.67, 135.75°)
OKLaboklab(51.75% -0.1168 0.0942)
OKLCHoklch(51.75% 0.15 141.1)
XYZxyz(8.4378, 15.0218, 3.6829)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C1E #6F1E7C
analogous
#5A7C1E #2B7C1E #1E7C40
triadic
#2B7C1E #1E2B7C #7C1E2B
tetradic
#2B7C1E #1E5A7C #6F1E7C #7C401E
square
#2B7C1E #1E5A7C #6F1E7C #7C401E
split-complementary
#2B7C1E #401E7C #7C1E5A
monochromatic
#091906 #1A4B12 #2B7C1E #3CAD2A #57D143

Accessibility & contrast

On white

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

On black

4.00
#2B7C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7C1E#FFFFFF#000000##FFFFFF
##2B7C1E1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7c1e;
/* rgb */ color: rgb(43, 124, 30);
/* oklch */ color: oklch(51.7% 0.150 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a360',
    500: '#2b7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c1e;
$custom-light: #70a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c1e",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 111.702,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.15004,
    "h": 141.1
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#2B7C1E
secondary
#A146AF
accent
#44E4CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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