#2C5918#2C5918

#2C5918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.7% C 0.107 H 137.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2C5918
RGBrgb(44, 89, 24)
HSLhsl(102, 58%, 22%)
HSVhsv(102, 73%, 35%)
CMYKcmyk(50.6%, 0%, 73%, 65.1%)
CIE-LABlab(33.45, -28.63, 31.56)
CIE-LCHlch(33.45, 42.61, 132.22°)
OKLaboklab(41.67% -0.0791 0.0722)
OKLCHoklch(41.67% 0.107 137.6)
XYZxyz(4.7758, 7.7459, 2.1074)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5918 #451859
analogous
#4D5918 #2C5918 #185924
triadic
#2C5918 #182C59 #59182C
tetradic
#2C5918 #184D59 #451859 #592418
square
#2C5918 #184D59 #451859 #592418
split-complementary
#2C5918 #241859 #59184D
monochromatic
#0C1806 #14290B #2C5918 #448925 #5CB932

Accessibility & contrast

On white

8.24
#2C5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5918
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5918#FFFFFF#000000##FFFFFF
##2C59181.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#29564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5918;
/* rgb */ color: rgb(44, 89, 24);
/* oklch */ color: oklch(41.7% 0.107 137.6);
Tailwind
colors: {
  custom: {
    50: '#6a8859',
    500: '#2c5918',
    950: '#000000',
  },
}
SCSS
$custom: #2c5918;
$custom-light: #6a8859;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5918",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 101.538,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.10711,
    "h": 137.6
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#2C5918
secondary
#763D90
accent
#47E1B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C5918

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

Preview Lab → · Contrast checker → · Palette generator →

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