#2C6239#2C6239

#2C6239 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.088 H 149.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2C6239
RGBrgb(44, 98, 57)
HSLhsl(134, 38%, 28%)
HSVhsv(134, 55%, 38%)
CMYKcmyk(55.1%, 0%, 41.8%, 61.6%)
CIE-LABlab(37.05, -28.00, 18.02)
CIE-LCHlch(37.05, 33.30, 147.23°)
OKLaboklab(44.77% -0.076 0.0448)
OKLCHoklch(44.77% 0.088 149.5)
XYZxyz(6.1445, 9.5657, 5.3927)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6239 #622C55
analogous
#3A622C #2C6239 #2C6254
triadic
#2C6239 #392C62 #62392C
tetradic
#2C6239 #2C3A62 #622C55 #62542C
square
#2C6239 #2C3A62 #622C55 #62542C
split-complementary
#2C6239 #542C62 #622C3A
monochromatic
#09150C #193820 #2C6239 #3F8C52 #56B36C

Accessibility & contrast

On white

7.21
#2C6239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2C6239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6239
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6239#FFFFFF#000000##FFFFFF
##2C62391.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#216058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6239;
/* rgb */ color: rgb(44, 98, 57);
/* oklch */ color: oklch(44.8% 0.088 149.5);
Tailwind
colors: {
  custom: {
    50: '#6a8f70',
    500: '#2c6239',
    950: '#000000',
  },
}
SCSS
$custom: #2c6239;
$custom-light: #6a8f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6239",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 134.444,
    "s": 38.028,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4477,
    "c": 0.08818,
    "h": 149.5
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#2C6239
secondary
#945685
accent
#5AB2CE
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #2C6239

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

Preview Lab → · Contrast checker → · Palette generator →

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