#2C6232#2C6232

#2C6232 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.096 H 146.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C6232
RGBrgb(44, 98, 50)
HSLhsl(127, 38%, 28%)
HSVhsv(127, 55%, 38%)
CMYKcmyk(55.1%, 0%, 49%, 61.6%)
CIE-LABlab(36.93, -29.27, 21.93)
CIE-LCHlch(36.93, 36.57, 143.15°)
OKLaboklab(44.63% -0.0794 0.0536)
OKLCHoklch(44.63% 0.096 146)
XYZxyz(5.9818, 9.5006, 4.5356)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6232 #622C5C
analogous
#41622C #2C6232 #2C624D
triadic
#2C6232 #322C62 #62322C
tetradic
#2C6232 #2C4162 #622C5C #624D2C
square
#2C6232 #2C4162 #622C5C #624D2C
split-complementary
#2C6232 #4D2C62 #622C41
monochromatic
#09150B #19381C #2C6232 #3F8C48 #56B360

Accessibility & contrast

On white

7.24
#2C6232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C6232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6232
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6232#FFFFFF#000000##FFFFFF
##2C62321.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#236057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6232;
/* rgb */ color: rgb(44, 98, 50);
/* oklch */ color: oklch(44.6% 0.096 146.0);
Tailwind
colors: {
  custom: {
    50: '#6a8f6b',
    500: '#2c6232',
    950: '#000000',
  },
}
SCSS
$custom: #2c6232;
$custom-light: #6a8f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6232",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 126.667,
    "s": 38.028,
    "l": 27.843
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.09578,
    "h": 146
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#2C6232
secondary
#94568D
accent
#5AC1CE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2C6232

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

Preview Lab → · Contrast checker → · Palette generator →

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