#2B7313#2B7313

#2B7313 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.145 H 139.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7313
RGBrgb(43, 115, 19)
HSLhsl(105, 72%, 26%)
HSVhsv(105, 83%, 45%)
CMYKcmyk(62.6%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.49, -40.13, 42.46)
CIE-LCHlch(42.49, 58.43, 133.38°)
OKLaboklab(49.1% -0.1104 0.0942)
OKLCHoklch(49.1% 0.145 139.5)
XYZxyz(7.2442, 12.8214, 2.7090)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7313 #5B1373
analogous
#5B7313 #2B7313 #13732B
triadic
#2B7313 #132B73 #73132B
tetradic
#2B7313 #135B73 #5B1373 #732B13
square
#2B7313 #135B73 #5B1373 #732B13
split-complementary
#2B7313 #2B1373 #73135B
monochromatic
#0A1A04 #173E0A #2B7313 #3FA81C #53DB25

Accessibility & contrast

On white

5.89
#2B7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7313
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7313#FFFFFF#000000##FFFFFF
##2B73131.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#226F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7313;
/* rgb */ color: rgb(43, 115, 19);
/* oklch */ color: oklch(49.1% 0.145 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e9c5a',
    500: '#2b7313',
    950: '#000000',
  },
}
SCSS
$custom: #2b7313;
$custom-light: #6e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7313",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 105,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.14515,
    "h": 139.5
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#2B7313
secondary
#8D38AA
accent
#39EEC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7313

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

Preview Lab → · Contrast checker → · Palette generator →

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