#2C742E#2C742E

#2C742E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.127 H 143.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2C742E
RGBrgb(44, 116, 46)
HSLhsl(122, 45%, 31%)
HSVhsv(122, 62%, 45%)
CMYKcmyk(62.1%, 0%, 60.3%, 54.5%)
CIE-LABlab(43.10, -37.66, 31.60)
CIE-LCHlch(43.10, 49.16, 140.00°)
OKLaboklab(49.68% -0.1022 0.0748)
OKLCHoklch(49.68% 0.127 143.8)
XYZxyz(7.7768, 13.2228, 4.7267)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C742E #742C72
analogous
#4E742C #2C742E #2C7452
triadic
#2C742E #2E2C74 #742E2C
tetradic
#2C742E #2C4E74 #742C72 #74522C
square
#2C742E #2C4E74 #742C72 #74522C
split-complementary
#2C742E #522C74 #742C4E
monochromatic
#0A1B0B #1B481C #2C742E #3DA040 #5AC05D

Accessibility & contrast

On white

5.76
#2C742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2C742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C742E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C742E#FFFFFF#000000##FFFFFF
##2C742E1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A27
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#1E7165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c742e;
/* rgb */ color: rgb(44, 116, 46);
/* oklch */ color: oklch(49.7% 0.127 143.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d69',
    500: '#2c742e',
    950: '#000000',
  },
}
SCSS
$custom: #2c742e;
$custom-light: #6e9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c742e",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 121.667,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.12665,
    "h": 143.8
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#2C742E
secondary
#A656A3
accent
#53D1D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C742E

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

Preview Lab → · Contrast checker → · Palette generator →

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