#2B6820#2B6820

#2B6820 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.122 H 140.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2B6820
RGBrgb(43, 104, 32)
HSLhsl(111, 53%, 27%)
HSVhsv(111, 69%, 41%)
CMYKcmyk(58.7%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.76, -34.67, 33.54)
CIE-LCHlch(38.76, 48.24, 135.95°)
OKLaboklab(46.05% -0.0949 0.0774)
OKLCHoklch(46.05% 0.122 140.8)
XYZxyz(6.2070, 10.5180, 3.0693)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6820 #5D2068
analogous
#4F6820 #2B6820 #206839
triadic
#2B6820 #202B68 #68202B
tetradic
#2B6820 #204F68 #5D2068 #683920
square
#2B6820 #204F68 #5D2068 #683920
split-complementary
#2B6820 #392068 #68204F
monochromatic
#0A1707 #183912 #2B6820 #3E972E #53C43F

Accessibility & contrast

On white

6.77
#2B6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2B6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6820
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6820#FFFFFF#000000##FFFFFF
##2B68201.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E17
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6820;
/* rgb */ color: rgb(43, 104, 32);
/* oklch */ color: oklch(46.0% 0.122 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b945f',
    500: '#2b6820',
    950: '#000000',
  },
}
SCSS
$custom: #2b6820;
$custom-light: #6b945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6820",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 110.833,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.12245,
    "h": 140.8
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#2B6820
secondary
#8F489C
accent
#4BDCC6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6820

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

Preview Lab → · Contrast checker → · Palette generator →

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