#2B7314#2B7314

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

Color values

HEX#2B7314
RGBrgb(43, 115, 20)
HSLhsl(105, 70%, 26%)
HSVhsv(105, 83%, 45%)
CMYKcmyk(62.6%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.50, -40.07, 42.14)
CIE-LCHlch(42.50, 58.15, 133.55°)
OKLaboklab(49.11% -0.1102 0.0937)
OKLCHoklch(49.11% 0.145 139.6)
XYZxyz(7.2529, 12.8249, 2.7549)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7314 #5C1473
analogous
#5B7314 #2B7314 #14732D
triadic
#2B7314 #142B73 #73142B
tetradic
#2B7314 #145B73 #5C1473 #732D14
square
#2B7314 #145B73 #5C1473 #732D14
split-complementary
#2B7314 #2D1473 #73145B
monochromatic
#0A1A05 #183F0B #2B7314 #3EA71D #53DA28

Accessibility & contrast

On white

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

On black

3.57
#2B7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7314#FFFFFF#000000##FFFFFF
##2B73141.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.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: #2b7314;
/* rgb */ color: rgb(43, 115, 20);
/* oklch */ color: oklch(49.1% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9c5a',
    500: '#2b7314',
    950: '#000000',
  },
}
SCSS
$custom: #2b7314;
$custom-light: #6e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7314",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 105.474,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.14465,
    "h": 139.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#2B7314
secondary
#8E3AA9
accent
#3BEDC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7314

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

Preview Lab → · Contrast checker → · Palette generator →

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