#2C671B#2C671B

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

Color values

HEX#2C671B
RGBrgb(44, 103, 27)
HSLhsl(107, 58%, 25%)
HSVhsv(107, 74%, 40%)
CMYKcmyk(57.3%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.40, -34.45, 35.42)
CIE-LCHlch(38.40, 49.41, 134.20°)
OKLaboklab(45.75% -0.0947 0.0807)
OKLCHoklch(45.75% 0.124 139.6)
XYZxyz(6.0865, 10.3146, 2.7069)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C671B #561B67
analogous
#52671B #2C671B #1B6730
triadic
#2C671B #1B2C67 #671B2C
tetradic
#2C671B #1B5267 #561B67 #67301B
square
#2C671B #1B5267 #561B67 #67301B
split-complementary
#2C671B #301B67 #671B52
monochromatic
#0A1806 #17370E #2C671B #419728 #55C834

Accessibility & contrast

On white

6.86
#2C671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C671B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C671B#FFFFFF#000000##FFFFFF
##2C671B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#266358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c671b;
/* rgb */ color: rgb(44, 103, 27);
/* oklch */ color: oklch(45.8% 0.124 139.6);
Tailwind
colors: {
  custom: {
    50: '#6c935c',
    500: '#2c671b',
    950: '#000000',
  },
}
SCSS
$custom: #2c671b;
$custom-light: #6c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c671b",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 106.579,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.1244,
    "h": 139.6
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#2C671B
secondary
#88429C
accent
#46E2BF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C671B

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

Preview Lab → · Contrast checker → · Palette generator →

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