#2C6015#2C6015

#2C6015 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.119 H 138.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2C6015
RGBrgb(44, 96, 21)
HSLhsl(102, 64%, 23%)
HSVhsv(102, 78%, 38%)
CMYKcmyk(54.2%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.90, -31.99, 35.37)
CIE-LCHlch(35.90, 47.70, 132.13°)
OKLaboklab(43.68% -0.0885 0.0797)
OKLCHoklch(43.68% 0.119 138)
XYZxyz(5.3568, 8.9550, 2.1555)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6015 #491560
analogous
#516015 #2C6015 #156023
triadic
#2C6015 #152C60 #60152C
tetradic
#2C6015 #155160 #491560 #602315
square
#2C6015 #155160 #491560 #602315
split-complementary
#2C6015 #231560 #601551
monochromatic
#0C1905 #152E0A #2C6015 #439220 #5AC42B

Accessibility & contrast

On white

7.52
#2C6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2C6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6015
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6015#FFFFFF#000000##FFFFFF
##2C60151.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#285C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c6015;
/* rgb */ color: rgb(44, 96, 21);
/* oklch */ color: oklch(43.7% 0.119 138.0);
Tailwind
colors: {
  custom: {
    50: '#6b8e58',
    500: '#2c6015',
    950: '#000000',
  },
}
SCSS
$custom: #2c6015;
$custom-light: #6b8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6015",
  "rgb": {
    "r": 44,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 101.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.11908,
    "h": 138
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#2C6015
secondary
#7B3A97
accent
#41E7B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6015

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

Preview Lab → · Contrast checker → · Palette generator →

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