#2C5D15#2C5D15

#2C5D15 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.115 H 137.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C5D15
RGBrgb(44, 93, 21)
HSLhsl(101, 63%, 22%)
HSVhsv(101, 77%, 36%)
CMYKcmyk(52.7%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.84, -30.69, 34.31)
CIE-LCHlch(34.84, 46.03, 131.81°)
OKLaboklab(42.8% -0.0849 0.0775)
OKLCHoklch(42.8% 0.115 137.6)
XYZxyz(5.0882, 8.4180, 2.0660)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D15 #46155D
analogous
#505D15 #2C5D15 #155D22
triadic
#2C5D15 #152C5D #5D152C
tetradic
#2C5D15 #15505D #46155D #5D2215
square
#2C5D15 #15505D #46155D #5D2215
split-complementary
#2C5D15 #22155D #5D1550
monochromatic
#0C1906 #142B0A #2C5D15 #448F20 #5BC12C

Accessibility & contrast

On white

7.83
#2C5D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D15
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D15#FFFFFF#000000##FFFFFF
##2C5D151.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605408
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#29594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d15;
/* rgb */ color: rgb(44, 93, 21);
/* oklch */ color: oklch(42.8% 0.115 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b8b58',
    500: '#2c5d15',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d15;
$custom-light: #6b8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d15",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 100.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.11497,
    "h": 137.6
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#2C5D15
secondary
#773994
accent
#42E6B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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