#2B7F1E#2B7F1E

#2B7F1E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.154 H 141.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7F1E
RGBrgb(43, 127, 30)
HSLhsl(112, 62%, 31%)
HSVhsv(112, 76%, 50%)
CMYKcmyk(66.1%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.69, -43.86, 42.67)
CIE-LCHlch(46.69, 61.19, 135.79°)
OKLaboklab(52.6% -0.1198 0.0963)
OKLCHoklch(52.6% 0.154 141.2)
XYZxyz(8.8195, 15.7852, 3.8101)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F1E #721E7F
analogous
#5B7F1E #2B7F1E #1E7F41
triadic
#2B7F1E #1E2B7F #7F1E2B
tetradic
#2B7F1E #1E5B7F #721E7F #7F411E
square
#2B7F1E #1E5B7F #721E7F #7F411E
split-complementary
#2B7F1E #411E7F #7F1E5B
monochromatic
#091C07 #1A4D12 #2B7F1E #3CB12A #58D344

Accessibility & contrast

On white

5.05
#2B7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2B7F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F1E#FFFFFF#000000##FFFFFF
##2B7F1E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#1C7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f1e;
/* rgb */ color: rgb(43, 127, 30);
/* oklch */ color: oklch(52.6% 0.154 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a561',
    500: '#2b7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f1e;
$custom-light: #70a561;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f1e",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 111.959,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.15374,
    "h": 141.2
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#2B7F1E
secondary
#A447B2
accent
#43E5CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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