#2C671A#2C671A

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

Color values

HEX#2C671A
RGBrgb(44, 103, 26)
HSLhsl(106, 60%, 25%)
HSVhsv(106, 75%, 40%)
CMYKcmyk(57.3%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.39, -34.54, 35.84)
CIE-LCHlch(38.39, 49.78, 133.94°)
OKLaboklab(45.74% -0.095 0.0815)
OKLCHoklch(45.74% 0.125 139.4)
XYZxyz(6.0752, 10.3101, 2.6470)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C671A #551A67
analogous
#52671A #2C671A #1A672E
triadic
#2C671A #1A2C67 #671A2C
tetradic
#2C671A #1A5267 #551A67 #672E1A
square
#2C671A #1A5267 #551A67 #672E1A
split-complementary
#2C671A #2E1A67 #671A52
monochromatic
#0A1806 #17360E #2C671A #419826 #56C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C671A#FFFFFF#000000##FFFFFF
##2C671A1.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)
#6A5D0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#266358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c671a;
/* rgb */ color: rgb(44, 103, 26);
/* oklch */ color: oklch(45.7% 0.125 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c935c',
    500: '#2c671a',
    950: '#000000',
  },
}
SCSS
$custom: #2c671a;
$custom-light: #6c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c671a",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 105.974,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.12512,
    "h": 139.4
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#2C671A
secondary
#87409D
accent
#45E3BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C671A

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

Preview Lab → · Contrast checker → · Palette generator →

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