#2C5E18#2C5E18

#2C5E18 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.114 H 138.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2C5E18
RGBrgb(44, 94, 24)
HSLhsl(103, 59%, 23%)
HSVhsv(103, 74%, 37%)
CMYKcmyk(53.2%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.22, -30.87, 33.41)
CIE-LCHlch(35.22, 45.49, 132.73°)
OKLaboklab(43.12% -0.0852 0.0761)
OKLCHoklch(43.12% 0.114 138.2)
XYZxyz(5.2061, 8.6065, 2.2509)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E18 #4A185E
analogous
#4F5E18 #2C5E18 #185E27
triadic
#2C5E18 #182C5E #5E182C
tetradic
#2C5E18 #184F5E #4A185E #5E2718
square
#2C5E18 #184F5E #4A185E #5E2718
split-complementary
#2C5E18 #27185E #5E184F
monochromatic
#0B1806 #152D0C #2C5E18 #438F24 #5AC031

Accessibility & contrast

On white

7.72
#2C5E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5E18
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E18#FFFFFF#000000##FFFFFF
##2C5E181.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#285B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5e18;
/* rgb */ color: rgb(44, 94, 24);
/* oklch */ color: oklch(43.1% 0.114 138.2);
Tailwind
colors: {
  custom: {
    50: '#6b8c59',
    500: '#2c5e18',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e18;
$custom-light: #6b8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e18",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 102.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.11422,
    "h": 138.2
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#2C5E18
secondary
#7C3D94
accent
#45E3B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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