#2B7F19#2B7F19

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

Color values

HEX#2B7F19
RGBrgb(43, 127, 25)
HSLhsl(109, 67%, 30%)
HSVhsv(109, 80%, 50%)
CMYKcmyk(66.1%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.66, -44.23, 44.44)
CIE-LCHlch(46.66, 62.70, 134.86°)
OKLaboklab(52.56% -0.1211 0.0993)
OKLCHoklch(52.56% 0.157 140.7)
XYZxyz(8.7607, 15.7617, 3.5001)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F19 #6D197F
analogous
#5E7F19 #2B7F19 #197F3A
triadic
#2B7F19 #192B7F #7F192B
tetradic
#2B7F19 #195E7F #6D197F #7F3A19
square
#2B7F19 #195E7F #6D197F #7F3A19
split-complementary
#2B7F19 #3A197F #7F195E
monochromatic
#091A05 #1A4C0F #2B7F19 #3CB223 #56D83A

Accessibility & contrast

On white

5.06
#2B7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2B7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F19#FFFFFF#000000##FFFFFF
##2B7F191.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#1D7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f19;
/* rgb */ color: rgb(43, 127, 25);
/* oklch */ color: oklch(52.6% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a55e',
    500: '#2b7f19',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f19;
$custom-light: #71a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f19",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 109.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.1566,
    "h": 140.7
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#2B7F19
secondary
#9F41B3
accent
#3EEACC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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