#2B7E14#2B7E14

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

Color values

HEX#2B7E14
RGBrgb(43, 126, 20)
HSLhsl(107, 73%, 29%)
HSVhsv(107, 84%, 49%)
CMYKcmyk(65.9%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.29, -44.18, 45.69)
CIE-LCHlch(46.29, 63.55, 134.04°)
OKLaboklab(52.25% -0.1212 0.1011)
OKLCHoklch(52.25% 0.158 140.2)
XYZxyz(8.5830, 15.4850, 3.1983)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E14 #67147E
analogous
#607E14 #2B7E14 #147E32
triadic
#2B7E14 #142B7E #7E142B
tetradic
#2B7E14 #14607E #67147E #7E3214
square
#2B7E14 #14607E #67147E #7E3214
split-complementary
#2B7E14 #32147E #7E1460
monochromatic
#091A04 #19490C #2B7E14 #3DB31C #55DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7E14#FFFFFF#000000##FFFFFF
##2B7E141.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: #2b7e14;
/* rgb */ color: rgb(43, 126, 20);
/* oklch */ color: oklch(52.2% 0.158 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a45c',
    500: '#2b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e14;
$custom-light: #71a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e14",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 106.981,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.15787,
    "h": 140.2
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#2B7E14
secondary
#993AB3
accent
#38EFC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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