#2C5819#2C5819

#2C5819 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.105 H 137.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2C5819
RGBrgb(44, 88, 25)
HSLhsl(102, 56%, 22%)
HSVhsv(102, 72%, 35%)
CMYKcmyk(50%, 0%, 71.6%, 65.5%)
CIE-LABlab(33.10, -28.08, 30.72)
CIE-LCHlch(33.10, 41.62, 132.43°)
OKLaboklab(41.39% -0.0776 0.0706)
OKLCHoklch(41.39% 0.105 137.7)
XYZxyz(4.7037, 7.5848, 2.1357)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5819 #451958
analogous
#4C5819 #2C5819 #195826
triadic
#2C5819 #192C58 #58192C
tetradic
#2C5819 #194C58 #451958 #582619
square
#2C5819 #194C58 #451958 #582619
split-complementary
#2C5819 #261958 #58194C
monochromatic
#0C1807 #14280B #2C5819 #448827 #5CB734

Accessibility & contrast

On white

8.34
#2C5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5819
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5819#FFFFFF#000000##FFFFFF
##2C58191.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5011
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#29554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5819;
/* rgb */ color: rgb(44, 88, 25);
/* oklch */ color: oklch(41.4% 0.105 137.7);
Tailwind
colors: {
  custom: {
    50: '#6a8759',
    500: '#2c5819',
    950: '#000000',
  },
}
SCSS
$custom: #2c5819;
$custom-light: #6a8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5819",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 101.905,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.10485,
    "h": 137.7
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#2C5819
secondary
#763E8E
accent
#49DFB2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C5819

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

Preview Lab → · Contrast checker → · Palette generator →

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