#2C5B18#2C5B18

#2C5B18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.110 H 137.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2C5B18
RGBrgb(44, 91, 24)
HSLhsl(102, 58%, 23%)
HSVhsv(102, 74%, 36%)
CMYKcmyk(51.6%, 0%, 73.6%, 64.3%)
CIE-LABlab(34.16, -29.54, 32.30)
CIE-LCHlch(34.16, 43.77, 132.44°)
OKLaboklab(42.25% -0.0816 0.0737)
OKLCHoklch(42.25% 0.11 137.9)
XYZxyz(4.9445, 8.0833, 2.1637)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B18 #47185B
analogous
#4D5B18 #2C5B18 #185B26
triadic
#2C5B18 #182C5B #5B182C
tetradic
#2C5B18 #184D5B #47185B #5B2618
square
#2C5B18 #184D5B #47185B #5B2618
split-complementary
#2C5B18 #26185B #5B184D
monochromatic
#0C1806 #152B0B #2C5B18 #438B25 #5BBC32

Accessibility & contrast

On white

8.03
#2C5B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C5B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B18
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B18#FFFFFF#000000##FFFFFF
##2C5B181.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b18;
/* rgb */ color: rgb(44, 91, 24);
/* oklch */ color: oklch(42.3% 0.110 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8a59',
    500: '#2c5b18',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b18;
$custom-light: #6a8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b18",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 102.09,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.10998,
    "h": 137.9
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#2C5B18
secondary
#783D92
accent
#46E1B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5B18

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

Preview Lab → · Contrast checker → · Palette generator →

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