#2C5418#2C5418

#2C5418 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.100 H 136.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2C5418
RGBrgb(44, 84, 24)
HSLhsl(100, 56%, 21%)
HSVhsv(100, 71%, 33%)
CMYKcmyk(47.6%, 0%, 71.4%, 67.1%)
CIE-LABlab(31.67, -26.32, 29.66)
CIE-LCHlch(31.67, 39.65, 131.58°)
OKLaboklab(40.21% -0.0729 0.0682)
OKLCHoklch(40.21% 0.1 136.9)
XYZxyz(4.3738, 6.9418, 1.9734)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5418 #401854
analogous
#4A5418 #2C5418 #185422
triadic
#2C5418 #182C54 #54182C
tetradic
#2C5418 #184A54 #401854 #542218
square
#2C5418 #184A54 #401854 #542218
split-complementary
#2C5418 #221854 #54184A
monochromatic
#0C1807 #13240A #2C5418 #458426 #5EB333

Accessibility & contrast

On white

8.79
#2C5418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C5418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5418
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5418#FFFFFF#000000##FFFFFF
##2C54181.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#2A5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c5418;
/* rgb */ color: rgb(44, 84, 24);
/* oklch */ color: oklch(40.2% 0.100 136.9);
Tailwind
colors: {
  custom: {
    50: '#698458',
    500: '#2c5418',
    950: '#000000',
  },
}
SCSS
$custom: #2c5418;
$custom-light: #698458;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5418",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.09979,
    "h": 136.9
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#2C5418
secondary
#713D8B
accent
#49DFAD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2C5418

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

Preview Lab → · Contrast checker → · Palette generator →

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