#2C6512#2C6512

#2C6512 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.128 H 138.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2C6512
RGBrgb(44, 101, 18)
HSLhsl(101, 70%, 23%)
HSVhsv(101, 82%, 40%)
CMYKcmyk(56.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.64, -34.33, 38.22)
CIE-LCHlch(37.64, 51.37, 131.93°)
OKLaboklab(45.1% -0.095 0.0852)
OKLCHoklch(45.1% 0.128 138.1)
XYZxyz(5.8014, 9.8861, 2.1746)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6512 #4B1265
analogous
#556512 #2C6512 #126521
triadic
#2C6512 #122C65 #65122C
tetradic
#2C6512 #125565 #4B1265 #652112
square
#2C6512 #125565 #4B1265 #652112
split-complementary
#2C6512 #211265 #651255
monochromatic
#0B1A05 #153109 #2C6512 #43991B #59CD25

Accessibility & contrast

On white

7.05
#2C6512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2C6512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6512
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6512#FFFFFF#000000##FFFFFF
##2C65121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#276155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c6512;
/* rgb */ color: rgb(44, 101, 18);
/* oklch */ color: oklch(45.1% 0.128 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c9157',
    500: '#2c6512',
    950: '#000000',
  },
}
SCSS
$custom: #2c6512;
$custom-light: #6c9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6512",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 101.205,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.12755,
    "h": 138.1
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#2C6512
secondary
#7D369D
accent
#3BEDB5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2C6512

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

Preview Lab → · Contrast checker → · Palette generator →

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