#2C741B#2C741B

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

Color values

HEX#2C741B
RGBrgb(44, 116, 27)
HSLhsl(109, 62%, 28%)
HSVhsv(109, 77%, 45%)
CMYKcmyk(62.1%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.92, -39.68, 40.05)
CIE-LCHlch(42.92, 56.38, 134.74°)
OKLaboklab(49.48% -0.1088 0.0904)
OKLCHoklch(49.48% 0.141 140.3)
XYZxyz(7.4816, 13.1047, 3.1719)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C741B #631B74
analogous
#58741B #2C741B #1B7436
triadic
#2C741B #1B2C74 #741B2C
tetradic
#2C741B #1B5874 #631B74 #74361B
square
#2C741B #1B5874 #631B74 #74361B
split-complementary
#2C741B #361B74 #741B58
monochromatic
#091906 #19420F #2C741B #3FA627 #56D139

Accessibility & contrast

On white

5.80
#2C741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C741B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C741B#FFFFFF#000000##FFFFFF
##2C741B1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c741b;
/* rgb */ color: rgb(44, 116, 27);
/* oklch */ color: oklch(49.5% 0.141 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d5e',
    500: '#2c741b',
    950: '#000000',
  },
}
SCSS
$custom: #2c741b;
$custom-light: #6f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c741b",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 108.539,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.14145,
    "h": 140.3
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#2C741B
secondary
#9542A9
accent
#42E5C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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