#2B6412#2B6412

#2B6412 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.127 H 138.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B6412
RGBrgb(43, 100, 18)
HSLhsl(102, 69%, 23%)
HSVhsv(102, 82%, 39%)
CMYKcmyk(57%, 0%, 82%, 60.8%)
CIE-LABlab(37.25, -34.23, 37.83)
CIE-LCHlch(37.25, 51.01, 132.14°)
OKLaboklab(44.77% -0.0946 0.0844)
OKLCHoklch(44.77% 0.127 138.3)
XYZxyz(5.6624, 9.6712, 2.1405)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6412 #4B1264
analogous
#546412 #2B6412 #126422
triadic
#2B6412 #122B64 #64122B
tetradic
#2B6412 #125464 #4B1264 #642212
square
#2B6412 #125464 #4B1264 #642212
split-complementary
#2B6412 #221264 #641254
monochromatic
#0B1A05 #153009 #2B6412 #41981B #58CC25

Accessibility & contrast

On white

7.16
#2B6412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B6412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6412
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6412#FFFFFF#000000##FFFFFF
##2B64121.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#266055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6412;
/* rgb */ color: rgb(43, 100, 18);
/* oklch */ color: oklch(44.8% 0.127 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c9157',
    500: '#2b6412',
    950: '#000000',
  },
}
SCSS
$custom: #2b6412;
$custom-light: #6c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6412",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 101.707,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.12676,
    "h": 138.3
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#2B6412
secondary
#7D369C
accent
#3BECB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2B6412

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

Preview Lab → · Contrast checker → · Palette generator →

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