#2B6D12#2B6D12

#2B6D12 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.138 H 139.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2B6D12
RGBrgb(43, 109, 18)
HSLhsl(104, 72%, 25%)
HSVhsv(104, 83%, 43%)
CMYKcmyk(60.6%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.40, -37.86, 40.82)
CIE-LCHlch(40.40, 55.68, 132.85°)
OKLaboklab(47.37% -0.1044 0.0906)
OKLCHoklch(47.37% 0.138 139)
XYZxyz(6.5738, 11.4940, 2.4443)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6D12 #54126D
analogous
#596D12 #2B6D12 #126D26
triadic
#2B6D12 #122B6D #6D122B
tetradic
#2B6D12 #12596D #54126D #6D2612
square
#2B6D12 #12596D #54126D #6D2612
split-complementary
#2B6D12 #26126D #6D1259
monochromatic
#0A1A04 #163809 #2B6D12 #40A21B #54D623

Accessibility & contrast

On white

6.37
#2B6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6D12
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6D12#FFFFFF#000000##FFFFFF
##2B6D121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#24695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b6d12;
/* rgb */ color: rgb(43, 109, 18);
/* oklch */ color: oklch(47.4% 0.138 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d9759',
    500: '#2b6d12',
    950: '#000000',
  },
}
SCSS
$custom: #2b6d12;
$custom-light: #6d9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6d12",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 103.516,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.13824,
    "h": 139
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#2B6D12
secondary
#8637A4
accent
#39EEBD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2B6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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