#2C631B#2C631B

#2C631B is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.119 H 139.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2C631B
RGBrgb(44, 99, 27)
HSLhsl(106, 57%, 25%)
HSVhsv(106, 73%, 39%)
CMYKcmyk(55.6%, 0%, 72.7%, 61.2%)
CIE-LABlab(37.00, -32.76, 33.95)
CIE-LCHlch(37.00, 47.18, 133.97°)
OKLaboklab(44.6% -0.0901 0.0776)
OKLCHoklch(44.6% 0.119 139.2)
XYZxyz(5.6982, 9.5378, 2.5774)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C631B #521B63
analogous
#50631B #2C631B #1B632E
triadic
#2C631B #1B2C63 #631B2C
tetradic
#2C631B #1B5063 #521B63 #632E1B
square
#2C631B #1B5063 #521B63 #632E1B
split-complementary
#2C631B #2E1B63 #631B50
monochromatic
#0B1807 #17330E #2C631B #419328 #57C335

Accessibility & contrast

On white

7.22
#2C631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2C631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C631B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C631B#FFFFFF#000000##FFFFFF
##2C631B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#276054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c631b;
/* rgb */ color: rgb(44, 99, 27);
/* oklch */ color: oklch(44.6% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#6b905c',
    500: '#2c631b',
    950: '#000000',
  },
}
SCSS
$custom: #2c631b;
$custom-light: #6b905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c631b",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 105.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44597,
    "c": 0.11892,
    "h": 139.2
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#2C631B
secondary
#844198
accent
#47E0BC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C631B

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

Preview Lab → · Contrast checker → · Palette generator →

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