#2C6539#2C6539

#2C6539 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.6% C 0.093 H 149.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2C6539
RGBrgb(44, 101, 57)
HSLhsl(134, 39%, 28%)
HSVhsv(134, 56%, 40%)
CMYKcmyk(56.4%, 0%, 43.6%, 60.4%)
CIE-LABlab(38.09, -29.40, 19.38)
CIE-LCHlch(38.09, 35.21, 146.61°)
OKLaboklab(45.62% -0.0797 0.048)
OKLCHoklch(45.62% 0.093 149)
XYZxyz(6.4305, 10.1377, 5.4880)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6539 #652C58
analogous
#3B652C #2C6539 #2C6555
triadic
#2C6539 #392C65 #65392C
tetradic
#2C6539 #2C3B65 #652C58 #65552C
square
#2C6539 #2C3B65 #652C58 #65552C
split-complementary
#2C6539 #552C65 #652C3B
monochromatic
#09150C #193A21 #2C6539 #3F9051 #56B56C

Accessibility & contrast

On white

6.94
#2C6539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2C6539 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6539
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6539#FFFFFF#000000##FFFFFF
##2C65391.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D36
Deuteranopia (green-blind)
#5E583C
Tritanopia (blue-blind)
#20635A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6539;
/* rgb */ color: rgb(44, 101, 57);
/* oklch */ color: oklch(45.6% 0.093 149.0);
Tailwind
colors: {
  custom: {
    50: '#6a9170',
    500: '#2c6539',
    950: '#000000',
  },
}
SCSS
$custom: #2c6539;
$custom-light: #6a9170;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6539",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 57
  },
  "hsl": {
    "h": 133.684,
    "s": 39.31,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.09302,
    "h": 149
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#2C6539
secondary
#975688
accent
#59B4CF
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2C6539

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

Preview Lab → · Contrast checker → · Palette generator →

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