#2C6214#2C6214

#2C6214 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.122 H 138.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2C6214
RGBrgb(44, 98, 20)
HSLhsl(102, 66%, 23%)
HSVhsv(102, 80%, 38%)
CMYKcmyk(55.1%, 0%, 79.6%, 61.6%)
CIE-LABlab(36.59, -32.93, 36.46)
CIE-LCHlch(36.59, 49.13, 132.08°)
OKLaboklab(44.25% -0.0911 0.0818)
OKLCHoklch(44.25% 0.122 138.1)
XYZxyz(5.5325, 9.3209, 2.1693)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6214 #4A1462
analogous
#536214 #2C6214 #146223
triadic
#2C6214 #142C62 #62142C
tetradic
#2C6214 #145362 #4A1462 #622314
square
#2C6214 #145362 #4A1462 #622314
split-complementary
#2C6214 #231462 #621453
monochromatic
#0B1905 #152F0A #2C6214 #43951E #5AC829

Accessibility & contrast

On white

7.33
#2C6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C6214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6214
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6214#FFFFFF#000000##FFFFFF
##2C62141.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6214;
/* rgb */ color: rgb(44, 98, 20);
/* oklch */ color: oklch(44.2% 0.122 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c8f58',
    500: '#2c6214',
    950: '#000000',
  },
}
SCSS
$custom: #2c6214;
$custom-light: #6c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6214",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 101.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.12242,
    "h": 138.1
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#2C6214
secondary
#7C3899
accent
#3FE9B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6214

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

Preview Lab → · Contrast checker → · Palette generator →

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