#2C5A18#2C5A18

#2C5A18 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.109 H 137.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2C5A18
RGBrgb(44, 90, 24)
HSLhsl(102, 58%, 22%)
HSVhsv(102, 73%, 35%)
CMYKcmyk(51.1%, 0%, 73.3%, 64.7%)
CIE-LABlab(33.80, -29.09, 31.93)
CIE-LCHlch(33.80, 43.19, 132.33°)
OKLaboklab(41.96% -0.0804 0.073)
OKLCHoklch(41.96% 0.109 137.8)
XYZxyz(4.8596, 7.9134, 2.1353)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A18 #46185A
analogous
#4D5A18 #2C5A18 #185A25
triadic
#2C5A18 #182C5A #5A182C
tetradic
#2C5A18 #184D5A #46185A #5A2518
square
#2C5A18 #184D5A #46185A #5A2518
split-complementary
#2C5A18 #25185A #5A184D
monochromatic
#0C1806 #142A0B #2C5A18 #448A25 #5BBB32

Accessibility & contrast

On white

8.13
#2C5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5A18
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A18#FFFFFF#000000##FFFFFF
##2C5A181.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#29574D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a18;
/* rgb */ color: rgb(44, 90, 24);
/* oklch */ color: oklch(42.0% 0.109 137.8);
Tailwind
colors: {
  custom: {
    50: '#6a8959',
    500: '#2c5a18',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a18;
$custom-light: #6a8959;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a18",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 101.818,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.10855,
    "h": 137.8
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#2C5A18
secondary
#773D91
accent
#47E1B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C5A18

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

Preview Lab → · Contrast checker → · Palette generator →

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