#2A6742#2A6742

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

Color values

HEX#2A6742
RGBrgb(42, 103, 66)
HSLhsl(144, 42%, 28%)
HSVhsv(144, 59%, 40%)
CMYKcmyk(59.2%, 0%, 35.9%, 59.6%)
CIE-LABlab(38.87, -29.08, 15.11)
CIE-LCHlch(38.87, 32.77, 152.54°)
OKLaboklab(46.3% -0.079 0.038)
OKLCHoklch(46.3% 0.088 154.3)
XYZxyz(6.7879, 10.5855, 6.8387)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6742 #672A4F
analogous
#30672A #2A6742 #2A6760
triadic
#2A6742 #422A67 #67422A
tetradic
#2A6742 #2A3067 #672A4F #67602A
square
#2A6742 #2A3067 #672A4F #67602A
split-complementary
#2A6742 #602A67 #672A30
monochromatic
#09160E #183C26 #2A6742 #3C925E #53B97B

Accessibility & contrast

On white

6.74
#2A6742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2A6742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6742
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6742#FFFFFF#000000##FFFFFF
##2A67421.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#18665D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6742;
/* rgb */ color: rgb(42, 103, 66);
/* oklch */ color: oklch(46.3% 0.088 154.3);
Tailwind
colors: {
  custom: {
    50: '#699376',
    500: '#2a6742',
    950: '#000000',
  },
}
SCSS
$custom: #2a6742;
$custom-light: #699376;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6742",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 66
  },
  "hsl": {
    "h": 143.607,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.08772,
    "h": 154.3
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#2A6742
secondary
#99547E
accent
#56A1D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2A6742

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

Preview Lab → · Contrast checker → · Palette generator →

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