#2B6218#2B6218

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

Color values

HEX#2B6218
RGBrgb(43, 98, 24)
HSLhsl(105, 61%, 24%)
HSVhsv(105, 76%, 38%)
CMYKcmyk(56.1%, 0%, 75.5%, 61.6%)
CIE-LABlab(36.58, -32.92, 34.81)
CIE-LCHlch(36.58, 47.91, 133.40°)
OKLaboklab(44.24% -0.0907 0.079)
OKLCHoklch(44.24% 0.12 138.9)
XYZxyz(5.5286, 9.3145, 2.3705)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6218 #4F1862
analogous
#506218 #2B6218 #18622A
triadic
#2B6218 #182B62 #62182B
tetradic
#2B6218 #185062 #4F1862 #622A18
square
#2B6218 #185062 #4F1862 #622A18
split-complementary
#2B6218 #2A1862 #621850
monochromatic
#0B1906 #15310C #2B6218 #419324 #56C430

Accessibility & contrast

On white

7.33
#2B6218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B6218
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6218#FFFFFF#000000##FFFFFF
##2B62181.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6218;
/* rgb */ color: rgb(43, 98, 24);
/* oklch */ color: oklch(44.2% 0.120 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b8f5a',
    500: '#2b6218',
    950: '#000000',
  },
}
SCSS
$custom: #2b6218;
$custom-light: #6b8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6218",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 104.595,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.12027,
    "h": 138.9
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#2B6218
secondary
#813E98
accent
#44E4BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6218

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

Preview Lab → · Contrast checker → · Palette generator →

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