#2C6317#2C6317

#2C6317 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.6% C 0.122 H 138.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2C6317
RGBrgb(44, 99, 23)
HSLhsl(103, 62%, 24%)
HSVhsv(103, 77%, 39%)
CMYKcmyk(55.6%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.97, -33.12, 35.64)
CIE-LCHlch(36.97, 48.65, 132.90°)
OKLaboklab(44.56% -0.0913 0.0806)
OKLCHoklch(44.56% 0.122 138.6)
XYZxyz(5.6550, 9.5206, 2.3501)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6317 #4E1763
analogous
#526317 #2C6317 #176328
triadic
#2C6317 #172C63 #63172C
tetradic
#2C6317 #175263 #4E1763 #632817
square
#2C6317 #175263 #4E1763 #632817
split-complementary
#2C6317 #281763 #631752
monochromatic
#0B1906 #16310B #2C6317 #429523 #58C62E

Accessibility & contrast

On white

7.23
#2C6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C6317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6317
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6317#FFFFFF#000000##FFFFFF
##2C63171.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#275F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6317;
/* rgb */ color: rgb(44, 99, 23);
/* oklch */ color: oklch(44.6% 0.122 138.6);
Tailwind
colors: {
  custom: {
    50: '#6c9059',
    500: '#2c6317',
    950: '#000000',
  },
}
SCSS
$custom: #2c6317;
$custom-light: #6c9059;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6317",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 103.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.1218,
    "h": 138.6
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#2C6317
secondary
#803C9A
accent
#42E5B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C6317

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

Preview Lab → · Contrast checker → · Palette generator →

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