#2C6019#2C6019

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

Color values

HEX#2C6019
RGBrgb(44, 96, 25)
HSLhsl(104, 59%, 24%)
HSVhsv(104, 74%, 38%)
CMYKcmyk(54.2%, 0%, 74%, 62.4%)
CIE-LABlab(35.93, -31.65, 33.72)
CIE-LCHlch(35.93, 46.24, 133.19°)
OKLaboklab(43.71% -0.0872 0.0769)
OKLCHoklch(43.71% 0.116 138.6)
XYZxyz(5.3968, 8.9710, 2.3667)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6019 #4D1960
analogous
#4F6019 #2C6019 #196029
triadic
#2C6019 #192C60 #60192C
tetradic
#2C6019 #194F60 #4D1960 #602919
square
#2C6019 #194F60 #4D1960 #602919
split-complementary
#2C6019 #291960 #60194F
monochromatic
#0B1806 #162F0C #2C6019 #429126 #59C132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6019#FFFFFF#000000##FFFFFF
##2C60191.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)
#63570E
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#285D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c6019;
/* rgb */ color: rgb(44, 96, 25);
/* oklch */ color: oklch(43.7% 0.116 138.6);
Tailwind
colors: {
  custom: {
    50: '#6b8e5a',
    500: '#2c6019',
    950: '#000000',
  },
}
SCSS
$custom: #2c6019;
$custom-light: #6b8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6019",
  "rgb": {
    "r": 44,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 103.944,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.11626,
    "h": 138.6
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#2C6019
secondary
#7F3F96
accent
#46E2B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C6019

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

Preview Lab → · Contrast checker → · Palette generator →

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