#2B6C12#2B6C12

#2B6C12 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.137 H 139.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2B6C12
RGBrgb(43, 108, 18)
HSLhsl(103, 71%, 25%)
HSVhsv(103, 83%, 42%)
CMYKcmyk(60.2%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.05, -37.47, 40.49)
CIE-LCHlch(40.05, 55.17, 132.78°)
OKLaboklab(47.08% -0.1033 0.09)
OKLCHoklch(47.08% 0.137 139)
XYZxyz(6.4677, 11.2818, 2.4089)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6C12 #53126C
analogous
#586C12 #2B6C12 #126C26
triadic
#2B6C12 #122B6C #6C122B
tetradic
#2B6C12 #12586C #53126C #6C2612
square
#2B6C12 #12586C #53126C #6C2612
split-complementary
#2B6C12 #26126C #6C1258
monochromatic
#0A1A04 #163809 #2B6C12 #40A01B #55D523

Accessibility & contrast

On white

6.45
#2B6C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2B6C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6C12
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6C12#FFFFFF#000000##FFFFFF
##2B6C121.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#24685B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b6c12;
/* rgb */ color: rgb(43, 108, 18);
/* oklch */ color: oklch(47.1% 0.137 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d9758',
    500: '#2b6c12',
    950: '#000000',
  },
}
SCSS
$custom: #2b6c12;
$custom-light: #6d9758;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6c12",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 103.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.13699,
    "h": 139
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#2B6C12
secondary
#8536A3
accent
#3AEEBC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2B6C12

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

Preview Lab → · Contrast checker → · Palette generator →

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