#2B7916#2B7916

#2B7916 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.151 H 140.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2B7916
RGBrgb(43, 121, 22)
HSLhsl(107, 69%, 28%)
HSVhsv(107, 82%, 47%)
CMYKcmyk(64.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.58, -42.21, 43.46)
CIE-LCHlch(44.58, 60.59, 134.16°)
OKLaboklab(50.84% -0.1158 0.0968)
OKLCHoklch(50.84% 0.151 140.1)
XYZxyz(7.9781, 14.2455, 3.0881)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7916 #641679
analogous
#5C7916 #2B7916 #167932
triadic
#2B7916 #162B79 #79162B
tetradic
#2B7916 #165C79 #641679 #793216
square
#2B7916 #165C79 #641679 #793216
split-complementary
#2B7916 #321679 #79165C
monochromatic
#091A05 #19450D #2B7916 #3DAD1F #54D930

Accessibility & contrast

On white

5.46
#2B7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2B7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7916
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7916#FFFFFF#000000##FFFFFF
##2B79161.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#207567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7916;
/* rgb */ color: rgb(43, 121, 22);
/* oklch */ color: oklch(50.8% 0.151 140.1);
Tailwind
colors: {
  custom: {
    50: '#6fa05c',
    500: '#2b7916',
    950: '#000000',
  },
}
SCSS
$custom: #2b7916;
$custom-light: #6fa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7916",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 107.273,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.15094,
    "h": 140.1
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#2B7916
secondary
#963DAE
accent
#3CECC7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2B7916

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

Preview Lab → · Contrast checker → · Palette generator →

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