#2B7F1A#2B7F1A

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

Color values

HEX#2B7F1A
RGBrgb(43, 127, 26)
HSLhsl(110, 66%, 30%)
HSVhsv(110, 80%, 50%)
CMYKcmyk(66.1%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.67, -44.16, 44.10)
CIE-LCHlch(46.67, 62.41, 135.04°)
OKLaboklab(52.57% -0.1209 0.0987)
OKLCHoklch(52.57% 0.156 140.8)
XYZxyz(8.7717, 15.7661, 3.5580)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F1A #6E1A7F
analogous
#5D7F1A #2B7F1A #1A7F3C
triadic
#2B7F1A #1A2B7F #7F1A2B
tetradic
#2B7F1A #1A5D7F #6E1A7F #7F3C1A
square
#2B7F1A #1A5D7F #6E1A7F #7F3C1A
split-complementary
#2B7F1A #3C1A7F #7F1A5D
monochromatic
#091905 #1A4C10 #2B7F1A #3CB224 #56D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7F1A#FFFFFF#000000##FFFFFF
##2B7F1A1.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)
#827302
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#1D7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f1a;
/* rgb */ color: rgb(43, 127, 26);
/* oklch */ color: oklch(52.6% 0.156 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a55f',
    500: '#2b7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f1a;
$custom-light: #71a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f1a",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 109.901,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.15606,
    "h": 140.8
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#2B7F1A
secondary
#A042B3
accent
#3FE9CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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