#2B6E12#2B6E12

#2B6E12 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.139 H 139.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2B6E12
RGBrgb(43, 110, 18)
HSLhsl(104, 72%, 25%)
HSVhsv(104, 84%, 43%)
CMYKcmyk(60.9%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.75, -38.26, 41.15)
CIE-LCHlch(40.75, 56.19, 132.91°)
OKLaboklab(47.66% -0.1054 0.0913)
OKLCHoklch(47.66% 0.139 139.1)
XYZxyz(6.6811, 11.7085, 2.4800)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E12 #55126E
analogous
#596E12 #2B6E12 #126E27
triadic
#2B6E12 #122B6E #6E122B
tetradic
#2B6E12 #12596E #55126E #6E2712
square
#2B6E12 #12596E #55126E #6E2712
split-complementary
#2B6E12 #27126E #6E1259
monochromatic
#0A1A04 #163909 #2B6E12 #40A31B #54D723

Accessibility & contrast

On white

6.28
#2B6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2B6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E12#FFFFFF#000000##FFFFFF
##2B6E121.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#246A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e12;
/* rgb */ color: rgb(43, 110, 18);
/* oklch */ color: oklch(47.7% 0.139 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d9859',
    500: '#2b6e12',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e12;
$custom-light: #6d9859;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e12",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 103.696,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.13949,
    "h": 139.1
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#2B6E12
secondary
#8737A5
accent
#39EFBD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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