#2B7816#2B7816

#2B7816 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.150 H 140.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2B7816
RGBrgb(43, 120, 22)
HSLhsl(107, 69%, 28%)
HSVhsv(107, 82%, 47%)
CMYKcmyk(64.2%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.24, -41.84, 43.13)
CIE-LCHlch(44.24, 60.09, 134.13°)
OKLaboklab(50.55% -0.1148 0.0961)
OKLCHoklch(50.55% 0.15 140.1)
XYZxyz(7.8572, 14.0037, 3.0478)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7816 #631678
analogous
#5C7816 #2B7816 #167832
triadic
#2B7816 #162B78 #78162B
tetradic
#2B7816 #165C78 #631678 #783216
square
#2B7816 #165C78 #631678 #783216
split-complementary
#2B7816 #321678 #78165C
monochromatic
#091A05 #18440D #2B7816 #3EAC1F #54D92F

Accessibility & contrast

On white

5.53
#2B7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2B7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7816
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7816#FFFFFF#000000##FFFFFF
##2B78161.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#207466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7816;
/* rgb */ color: rgb(43, 120, 22);
/* oklch */ color: oklch(50.6% 0.150 140.1);
Tailwind
colors: {
  custom: {
    50: '#6fa05c',
    500: '#2b7816',
    950: '#000000',
  },
}
SCSS
$custom: #2b7816;
$custom-light: #6fa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7816",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 107.143,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.14973,
    "h": 140.1
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#2B7816
secondary
#953CAD
accent
#3CECC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2B7816

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

Preview Lab → · Contrast checker → · Palette generator →

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