#2C741F#2C741F

#2C741F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.139 H 140.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2C741F
RGBrgb(44, 116, 31)
HSLhsl(111, 58%, 29%)
HSVhsv(111, 73%, 45%)
CMYKcmyk(62.1%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.95, -39.34, 38.46)
CIE-LCHlch(42.95, 55.02, 135.65°)
OKLaboklab(49.52% -0.1076 0.0876)
OKLCHoklch(49.52% 0.139 140.8)
XYZxyz(7.5311, 13.1245, 3.4325)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C741F #671F74
analogous
#57741F #2C741F #1F743D
triadic
#2C741F #1F2C74 #741F2C
tetradic
#2C741F #1F5774 #671F74 #743D1F
square
#2C741F #1F5774 #671F74 #743D1F
split-complementary
#2C741F #3D1F74 #741F57
monochromatic
#091806 #1A4412 #2C741F #3EA42C #56CC41

Accessibility & contrast

On white

5.79
#2C741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2C741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C741F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C741F#FFFFFF#000000##FFFFFF
##2C741F1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c741f;
/* rgb */ color: rgb(44, 116, 31);
/* oklch */ color: oklch(49.5% 0.139 140.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d60',
    500: '#2c741f',
    950: '#000000',
  },
}
SCSS
$custom: #2c741f;
$custom-light: #6e9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c741f",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 110.824,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.13879,
    "h": 140.8
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#2C741F
secondary
#9947A8
accent
#47E1C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C741F

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

Preview Lab → · Contrast checker → · Palette generator →

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