#2B7B1E#2B7B1E

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

Color values

HEX#2B7B1E
RGBrgb(43, 123, 30)
HSLhsl(112, 61%, 30%)
HSVhsv(112, 76%, 48%)
CMYKcmyk(65%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.32, -42.37, 41.29)
CIE-LCHlch(45.32, 59.16, 135.74°)
OKLaboklab(51.46% -0.1158 0.0934)
OKLCHoklch(51.46% 0.149 141.1)
XYZxyz(8.3131, 14.7724, 3.6413)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B1E #6E1E7B
analogous
#597B1E #2B7B1E #1E7B40
triadic
#2B7B1E #1E2B7B #7B1E2B
tetradic
#2B7B1E #1E597B #6E1E7B #7B401E
square
#2B7B1E #1E597B #6E1E7B #7B401E
split-complementary
#2B7B1E #401E7B #7B1E59
monochromatic
#091906 #1A4A12 #2B7B1E #3CAC2A #56D142

Accessibility & contrast

On white

5.31
#2B7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B1E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B1E#FFFFFF#000000##FFFFFF
##2B7B1E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#1E7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b1e;
/* rgb */ color: rgb(43, 123, 30);
/* oklch */ color: oklch(51.5% 0.149 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa260',
    500: '#2b7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b1e;
$custom-light: #6fa260;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b1e",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 111.613,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.14879,
    "h": 141.1
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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