#2B7416#2B7416

#2B7416 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 139.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2B7416
RGBrgb(43, 116, 22)
HSLhsl(107, 68%, 27%)
HSVhsv(107, 81%, 45%)
CMYKcmyk(62.9%, 0%, 81%, 54.5%)
CIE-LABlab(42.86, -40.32, 41.81)
CIE-LCHlch(42.86, 58.09, 133.96°)
OKLaboklab(49.41% -0.1108 0.0933)
OKLCHoklch(49.41% 0.145 139.9)
XYZxyz(7.3861, 13.0616, 2.8908)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7416 #5F1674
analogous
#5A7416 #2B7416 #167430
triadic
#2B7416 #162B74 #74162B
tetradic
#2B7416 #165A74 #5F1674 #743016
square
#2B7416 #165A74 #5F1674 #743016
split-complementary
#2B7416 #301674 #74165A
monochromatic
#0A1A05 #18410C #2B7416 #3EA720 #53D72D

Accessibility & contrast

On white

5.81
#2B7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7416
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7416#FFFFFF#000000##FFFFFF
##2B74161.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#217062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7416;
/* rgb */ color: rgb(43, 116, 22);
/* oklch */ color: oklch(49.4% 0.145 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9d5b',
    500: '#2b7416',
    950: '#000000',
  },
}
SCSS
$custom: #2b7416;
$custom-light: #6e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7416",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 106.596,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.14483,
    "h": 139.9
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#2B7416
secondary
#913CAA
accent
#3DEBC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7416

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

Preview Lab → · Contrast checker → · Palette generator →

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