#2B6112#2B6112

#2B6112 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.123 H 138.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2B6112
RGBrgb(43, 97, 18)
HSLhsl(101, 69%, 23%)
HSVhsv(101, 81%, 38%)
CMYKcmyk(55.7%, 0%, 81.4%, 62%)
CIE-LABlab(36.19, -32.97, 36.81)
CIE-LCHlch(36.19, 49.41, 131.86°)
OKLaboklab(43.9% -0.0912 0.0822)
OKLCHoklch(43.9% 0.123 138)
XYZxyz(5.3799, 9.1062, 2.0463)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6112 #481261
analogous
#526112 #2B6112 #126121
triadic
#2B6112 #122B61 #61122B
tetradic
#2B6112 #125261 #481261 #612112
square
#2B6112 #125261 #481261 #612112
split-complementary
#2B6112 #211261 #611252
monochromatic
#0B1A05 #142D08 #2B6112 #42951C #59C825

Accessibility & contrast

On white

7.44
#2B6112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B6112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6112
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6112#FFFFFF#000000##FFFFFF
##2B61121.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#275D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b6112;
/* rgb */ color: rgb(43, 97, 18);
/* oklch */ color: oklch(43.9% 0.123 138.0);
Tailwind
colors: {
  custom: {
    50: '#6b8e57',
    500: '#2b6112',
    950: '#000000',
  },
}
SCSS
$custom: #2b6112;
$custom-light: #6b8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6112",
  "rgb": {
    "r": 43,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 101.013,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.12282,
    "h": 138
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#2B6112
secondary
#7A3699
accent
#3CECB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6112

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

Preview Lab → · Contrast checker → · Palette generator →

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