#2B6215#2B6215

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

Color values

HEX#2B6215
RGBrgb(43, 98, 21)
HSLhsl(103, 65%, 23%)
HSVhsv(103, 79%, 38%)
CMYKcmyk(56.1%, 0%, 78.6%, 61.6%)
CIE-LABlab(36.56, -33.17, 36.02)
CIE-LCHlch(36.56, 48.97, 132.64°)
OKLaboklab(44.21% -0.0916 0.0811)
OKLCHoklch(44.21% 0.122 138.5)
XYZxyz(5.4991, 9.3027, 2.2151)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6215 #4C1562
analogous
#516215 #2B6215 #156225
triadic
#2B6215 #152B62 #62152B
tetradic
#2B6215 #155162 #4C1562 #622515
square
#2B6215 #155162 #4C1562 #622515
split-complementary
#2B6215 #251562 #621551
monochromatic
#0B1905 #15300A #2B6215 #419420 #57C72B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6215#FFFFFF#000000##FFFFFF
##2B62151.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)
#655906
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6215;
/* rgb */ color: rgb(43, 98, 21);
/* oklch */ color: oklch(44.2% 0.122 138.5);
Tailwind
colors: {
  custom: {
    50: '#6b8f58',
    500: '#2b6215',
    950: '#000000',
  },
}
SCSS
$custom: #2b6215;
$custom-light: #6b8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6215",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44209,
    "c": 0.12231,
    "h": 138.5
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#2B6215
secondary
#7E3A99
accent
#40E8B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6215

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

Preview Lab → · Contrast checker → · Palette generator →

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