#2C641F#2C641F

#2C641F is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.117 H 140.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2C641F
RGBrgb(44, 100, 31)
HSLhsl(109, 53%, 26%)
HSVhsv(109, 69%, 39%)
CMYKcmyk(56%, 0%, 69%, 60.8%)
CIE-LABlab(37.39, -32.78, 32.53)
CIE-LCHlch(37.39, 46.18, 135.22°)
OKLaboklab(44.93% -0.0899 0.0752)
OKLCHoklch(44.93% 0.117 140.1)
XYZxyz(5.8430, 9.7483, 2.8698)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C641F #571F64
analogous
#4E641F #2C641F #1F6434
triadic
#2C641F #1F2C64 #641F2C
tetradic
#2C641F #1F4E64 #571F64 #64341F
square
#2C641F #1F4E64 #571F64 #64341F
split-complementary
#2C641F #341F64 #641F4E
monochromatic
#0A1707 #173511 #2C641F #41932D #55C13C

Accessibility & contrast

On white

7.12
#2C641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2C641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C641F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C641F#FFFFFF#000000##FFFFFF
##2C641F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#266156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c641f;
/* rgb */ color: rgb(44, 100, 31);
/* oklch */ color: oklch(44.9% 0.117 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b915e',
    500: '#2c641f',
    950: '#000000',
  },
}
SCSS
$custom: #2c641f;
$custom-light: #6b915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c641f",
  "rgb": {
    "r": 44,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 108.696,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.11716,
    "h": 140.1
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#2C641F
secondary
#894698
accent
#4CDCC1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2C641F

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

Preview Lab → · Contrast checker → · Palette generator →

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