#2B6213#2B6213

#2B6213 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 138.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2B6213
RGBrgb(43, 98, 19)
HSLhsl(102, 68%, 23%)
HSVhsv(102, 81%, 38%)
CMYKcmyk(56.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.55, -33.32, 36.78)
CIE-LCHlch(36.55, 49.63, 132.17°)
OKLaboklab(44.19% -0.0921 0.0824)
OKLCHoklch(44.19% 0.124 138.2)
XYZxyz(5.4813, 9.2955, 2.1213)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6213 #4A1362
analogous
#526213 #2B6213 #136222
triadic
#2B6213 #132B62 #62132B
tetradic
#2B6213 #135262 #4A1362 #622213
square
#2B6213 #135262 #4A1362 #622213
split-complementary
#2B6213 #221362 #621352
monochromatic
#0B1A05 #152F09 #2B6213 #41951D #58C927

Accessibility & contrast

On white

7.34
#2B6213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B6213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6213
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6213#FFFFFF#000000##FFFFFF
##2B62131.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655903
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6213;
/* rgb */ color: rgb(43, 98, 19);
/* oklch */ color: oklch(44.2% 0.124 138.2);
Tailwind
colors: {
  custom: {
    50: '#6b8f57',
    500: '#2b6213',
    950: '#000000',
  },
}
SCSS
$custom: #2b6213;
$custom-light: #6b8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6213",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 101.772,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.12355,
    "h": 138.2
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#2B6213
secondary
#7C379A
accent
#3DEAB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6213

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

Preview Lab → · Contrast checker → · Palette generator →

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