#2B7A1E#2B7A1E

#2B7A1E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.148 H 141.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B7A1E
RGBrgb(43, 122, 30)
HSLhsl(112, 61%, 30%)
HSVhsv(112, 75%, 48%)
CMYKcmyk(64.8%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.98, -41.99, 40.94)
CIE-LCHlch(44.98, 58.65, 135.73°)
OKLaboklab(51.18% -0.1148 0.0927)
OKLCHoklch(51.18% 0.148 141.1)
XYZxyz(8.1897, 14.5256, 3.6002)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A1E #6D1E7A
analogous
#597A1E #2B7A1E #1E7A3F
triadic
#2B7A1E #1E2B7A #7A1E2B
tetradic
#2B7A1E #1E597A #6D1E7A #7A3F1E
square
#2B7A1E #1E597A #6D1E7A #7A3F1E
split-complementary
#2B7A1E #3F1E7A #7A1E59
monochromatic
#091906 #1A4912 #2B7A1E #3CAB2A #56D042

Accessibility & contrast

On white

5.38
#2B7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2B7A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A1E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A1E#FFFFFF#000000##FFFFFF
##2B7A1E1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0D
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#1E7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7a1e;
/* rgb */ color: rgb(43, 122, 30);
/* oklch */ color: oklch(51.2% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa160',
    500: '#2b7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a1e;
$custom-light: #6fa160;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a1e",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 111.522,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.14755,
    "h": 141.1
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#2B7A1E
secondary
#9F46AE
accent
#44E4CD
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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