#2B7E13#2B7E13

#2B7E13 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.158 H 140.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B7E13
RGBrgb(43, 126, 19)
HSLhsl(107, 74%, 28%)
HSVhsv(107, 85%, 49%)
CMYKcmyk(65.9%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.29, -44.23, 45.98)
CIE-LCHlch(46.29, 63.80, 133.89°)
OKLaboklab(52.24% -0.1214 0.1016)
OKLCHoklch(52.24% 0.158 140.1)
XYZxyz(8.5743, 15.4815, 3.1523)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E13 #66137E
analogous
#607E13 #2B7E13 #137E30
triadic
#2B7E13 #132B7E #7E132B
tetradic
#2B7E13 #13607E #66137E #7E3013
square
#2B7E13 #13607E #66137E #7E3013
split-complementary
#2B7E13 #30137E #7E1360
monochromatic
#091B04 #19490B #2B7E13 #3DB31B #54DF2C

Accessibility & contrast

On white

5.13
#2B7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E13
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E13#FFFFFF#000000##FFFFFF
##2B7E131.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#1E7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e13;
/* rgb */ color: rgb(43, 126, 19);
/* oklch */ color: oklch(52.2% 0.158 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a45c',
    500: '#2b7e13',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e13;
$custom-light: #71a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e13",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 106.542,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.15832,
    "h": 140.1
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#2B7E13
secondary
#9839B4
accent
#37F0C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2B7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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