#2C5617#2C5617

#2C5617 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.104 H 137.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2C5617
RGBrgb(44, 86, 23)
HSLhsl(100, 58%, 21%)
HSVhsv(100, 73%, 34%)
CMYKcmyk(48.8%, 0%, 73.3%, 66.3%)
CIE-LABlab(32.38, -27.35, 30.88)
CIE-LCHlch(32.38, 41.25, 131.53°)
OKLaboklab(40.79% -0.0757 0.0706)
OKLCHoklch(40.79% 0.104 137)
XYZxyz(4.5210, 7.2526, 1.9721)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5617 #411756
analogous
#4C5617 #2C5617 #175622
triadic
#2C5617 #172C56 #56172C
tetradic
#2C5617 #174C56 #411756 #562217
square
#2C5617 #174C56 #411756 #562217
split-complementary
#2C5617 #221756 #56174C
monochromatic
#0C1806 #13260A #2C5617 #458624 #5DB731

Accessibility & contrast

On white

8.57
#2C5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5617
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5617#FFFFFF#000000##FFFFFF
##2C56171.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#2A5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c5617;
/* rgb */ color: rgb(44, 86, 23);
/* oklch */ color: oklch(40.8% 0.104 137.0);
Tailwind
colors: {
  custom: {
    50: '#698658',
    500: '#2c5617',
    950: '#000000',
  },
}
SCSS
$custom: #2c5617;
$custom-light: #698658;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5617",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.10356,
    "h": 137
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#2C5617
secondary
#723C8D
accent
#47E1AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5617

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

Preview Lab → · Contrast checker → · Palette generator →

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