#2B7B13#2B7B13

#2B7B13 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.155 H 139.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2B7B13
RGBrgb(43, 123, 19)
HSLhsl(106, 73%, 28%)
HSVhsv(106, 85%, 48%)
CMYKcmyk(65%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.26, -43.13, 45.03)
CIE-LCHlch(45.26, 62.36, 133.77°)
OKLaboklab(51.39% -0.1185 0.0996)
OKLCHoklch(51.39% 0.155 139.9)
XYZxyz(8.1964, 14.7257, 3.0264)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B13 #63137B
analogous
#5F7B13 #2B7B13 #137B2F
triadic
#2B7B13 #132B7B #7B132B
tetradic
#2B7B13 #135F7B #63137B #7B2F13
square
#2B7B13 #135F7B #63137B #7B2F13
split-complementary
#2B7B13 #2F137B #7B135F
monochromatic
#091B04 #18460B #2B7B13 #3EB01B #54DE2A

Accessibility & contrast

On white

5.32
#2B7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B13
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B13#FFFFFF#000000##FFFFFF
##2B7B131.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#1F7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b13;
/* rgb */ color: rgb(43, 123, 19);
/* oklch */ color: oklch(51.4% 0.155 139.9);
Tailwind
colors: {
  custom: {
    50: '#70a25b',
    500: '#2b7b13',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b13;
$custom-light: #70a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b13",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 106.154,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.15478,
    "h": 139.9
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#2B7B13
secondary
#9539B1
accent
#38F0C5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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