#2C5D22#2C5D22

#2C5D22 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.104 H 140.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2C5D22
RGBrgb(44, 93, 34)
HSLhsl(110, 46%, 25%)
HSVhsv(110, 63%, 36%)
CMYKcmyk(52.7%, 0%, 63.4%, 63.5%)
CIE-LABlab(34.96, -29.35, 28.32)
CIE-LCHlch(34.96, 40.78, 136.02°)
OKLaboklab(42.95% -0.0803 0.0665)
OKLCHoklch(42.95% 0.104 140.4)
XYZxyz(5.2416, 8.4793, 2.8735)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D22 #53225D
analogous
#495D22 #2C5D22 #225D36
triadic
#2C5D22 #222C5D #5D222C
tetradic
#2C5D22 #22495D #53225D #5D3622
square
#2C5D22 #22495D #53225D #5D3622
split-complementary
#2C5D22 #36225D #5D2249
monochromatic
#0B1608 #173012 #2C5D22 #418A32 #56B743

Accessibility & contrast

On white

7.79
#2C5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C5D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D22
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D22#FFFFFF#000000##FFFFFF
##2C5D221.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#275A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d22;
/* rgb */ color: rgb(44, 93, 34);
/* oklch */ color: oklch(42.9% 0.104 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a8b5f',
    500: '#2c5d22',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d22;
$custom-light: #6a8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d22",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 109.831,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.10432,
    "h": 140.4
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#2C5D22
secondary
#854A91
accent
#52D6C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2C5D22

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

Preview Lab → · Contrast checker → · Palette generator →

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