#2B6214#2B6214

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

Color values

HEX#2B6214
RGBrgb(43, 98, 20)
HSLhsl(102, 66%, 23%)
HSVhsv(102, 80%, 38%)
CMYKcmyk(56.1%, 0%, 79.6%, 61.6%)
CIE-LABlab(36.55, -33.25, 36.41)
CIE-LCHlch(36.55, 49.30, 132.40°)
OKLaboklab(44.2% -0.0918 0.0817)
OKLCHoklch(44.2% 0.123 138.3)
XYZxyz(5.4900, 9.2990, 2.1673)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6214 #4B1462
analogous
#526214 #2B6214 #146224
triadic
#2B6214 #142B62 #62142B
tetradic
#2B6214 #145262 #4B1462 #622414
square
#2B6214 #145262 #4B1462 #622414
split-complementary
#2B6214 #241462 #621452
monochromatic
#0B1905 #152F0A #2B6214 #41951E #58C829

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6214#FFFFFF#000000##FFFFFF
##2B62141.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)
#655905
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#265E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6214;
/* rgb */ color: rgb(43, 98, 20);
/* oklch */ color: oklch(44.2% 0.123 138.3);
Tailwind
colors: {
  custom: {
    50: '#6b8f58',
    500: '#2b6214',
    950: '#000000',
  },
}
SCSS
$custom: #2b6214;
$custom-light: #6b8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6214",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 102.308,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.12293,
    "h": 138.3
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#2B6214
secondary
#7D3899
accent
#3FE9B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6214

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

Preview Lab → · Contrast checker → · Palette generator →

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