#2B6716#2B6716

#2B6716 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.128 H 139.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B6716
RGBrgb(43, 103, 22)
HSLhsl(104, 65%, 25%)
HSVhsv(104, 79%, 40%)
CMYKcmyk(58.3%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.33, -35.17, 37.39)
CIE-LCHlch(38.33, 51.33, 133.25°)
OKLaboklab(45.67% -0.0969 0.0841)
OKLCHoklch(45.67% 0.128 139)
XYZxyz(5.9911, 10.2715, 2.4258)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6716 #521667
analogous
#546716 #2B6716 #166729
triadic
#2B6716 #162B67 #67162B
tetradic
#2B6716 #165467 #521667 #672916
square
#2B6716 #165467 #521667 #672916
split-complementary
#2B6716 #291667 #671654
monochromatic
#0B1905 #16350B #2B6716 #409921 #55CC2C

Accessibility & contrast

On white

6.88
#2B6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6716
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6716#FFFFFF#000000##FFFFFF
##2B67161.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#256357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6716;
/* rgb */ color: rgb(43, 103, 22);
/* oklch */ color: oklch(45.7% 0.128 139.0);
Tailwind
colors: {
  custom: {
    50: '#6c9359',
    500: '#2b6716',
    950: '#000000',
  },
}
SCSS
$custom: #2b6716;
$custom-light: #6c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6716",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 104.444,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.12829,
    "h": 139
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#2B6716
secondary
#843B9E
accent
#40E8BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6716

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

Preview Lab → · Contrast checker → · Palette generator →

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