#2C671F#2C671F

#2C671F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.121 H 140.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2C671F
RGBrgb(44, 103, 31)
HSLhsl(109, 54%, 26%)
HSVhsv(109, 70%, 40%)
CMYKcmyk(57.3%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.44, -34.06, 33.67)
CIE-LCHlch(38.44, 47.89, 135.33°)
OKLaboklab(45.79% -0.0933 0.0776)
OKLCHoklch(45.79% 0.121 140.3)
XYZxyz(6.1360, 10.3344, 2.9675)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C671F #5A1F67
analogous
#50671F #2C671F #1F6736
triadic
#2C671F #1F2C67 #671F2C
tetradic
#2C671F #1F5067 #5A1F67 #67361F
square
#2C671F #1F5067 #5A1F67 #67361F
split-complementary
#2C671F #361F67 #671F50
monochromatic
#0A1807 #183811 #2C671F #40962D #55C43C

Accessibility & contrast

On white

6.85
#2C671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C671F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C671F#FFFFFF#000000##FFFFFF
##2C671F1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c671f;
/* rgb */ color: rgb(44, 103, 31);
/* oklch */ color: oklch(45.8% 0.121 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c935e',
    500: '#2c671f',
    950: '#000000',
  },
}
SCSS
$custom: #2c671f;
$custom-light: #6c935e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c671f",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 109.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.12136,
    "h": 140.3
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#2C671F
secondary
#8C469B
accent
#4BDDC3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2C671F

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

Preview Lab → · Contrast checker → · Palette generator →

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