#2A6740#2A6740

#2A6740 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.090 H 153.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2A6740
RGBrgb(42, 103, 64)
HSLhsl(142, 42%, 28%)
HSVhsv(142, 59%, 40%)
CMYKcmyk(59.2%, 0%, 37.9%, 59.6%)
CIE-LABlab(38.83, -29.50, 16.24)
CIE-LCHlch(38.83, 33.67, 151.16°)
OKLaboklab(46.25% -0.0801 0.0407)
OKLCHoklch(46.25% 0.09 153)
XYZxyz(6.7300, 10.5623, 6.5336)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6740 #672A51
analogous
#32672A #2A6740 #2A675E
triadic
#2A6740 #402A67 #67402A
tetradic
#2A6740 #2A3267 #672A51 #675E2A
square
#2A6740 #2A3267 #672A51 #675E2A
split-complementary
#2A6740 #5E2A67 #672A32
monochromatic
#09160E #183C25 #2A6740 #3C925B #53B977

Accessibility & contrast

On white

6.75
#2A6740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A6740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6740
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6740#FFFFFF#000000##FFFFFF
##2A67401.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#19665D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6740;
/* rgb */ color: rgb(42, 103, 64);
/* oklch */ color: oklch(46.3% 0.090 153.0);
Tailwind
colors: {
  custom: {
    50: '#699375',
    500: '#2a6740',
    950: '#000000',
  },
}
SCSS
$custom: #2a6740;
$custom-light: #699375;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6740",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 141.639,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.08983,
    "h": 153
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#2A6740
secondary
#995480
accent
#56A5D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2A6740

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

Preview Lab → · Contrast checker → · Palette generator →

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