#2B7016#2B7016

#2B7016 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.140 H 139.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2B7016
RGBrgb(43, 112, 22)
HSLhsl(106, 67%, 26%)
HSVhsv(106, 80%, 44%)
CMYKcmyk(61.6%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.47, -38.78, 40.47)
CIE-LCHlch(41.47, 56.05, 133.77°)
OKLaboklab(48.26% -0.1066 0.0905)
OKLCHoklch(48.26% 0.14 139.7)
XYZxyz(6.9349, 12.1592, 2.7404)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7016 #5B1670
analogous
#587016 #2B7016 #16702E
triadic
#2B7016 #162B70 #70162B
tetradic
#2B7016 #165870 #5B1670 #702E16
square
#2B7016 #165870 #5B1670 #702E16
split-complementary
#2B7016 #2E1670 #701658
monochromatic
#0A1A05 #173D0C #2B7016 #3FA320 #53D52B

Accessibility & contrast

On white

6.12
#2B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7016
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7016#FFFFFF#000000##FFFFFF
##2B70161.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#236C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7016;
/* rgb */ color: rgb(43, 112, 22);
/* oklch */ color: oklch(48.3% 0.140 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a5b',
    500: '#2b7016',
    950: '#000000',
  },
}
SCSS
$custom: #2b7016;
$custom-light: #6e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7016",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 106,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.13985,
    "h": 139.7
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#2B7016
secondary
#8D3CA6
accent
#3EEAC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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