#2A6739#2A6739

#2A6739 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.097 H 149.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A6739
RGBrgb(42, 103, 57)
HSLhsl(135, 42%, 28%)
HSVhsv(135, 59%, 40%)
CMYKcmyk(59.2%, 0%, 44.7%, 59.6%)
CIE-LABlab(38.70, -30.87, 20.16)
CIE-LCHlch(38.70, 36.87, 146.85°)
OKLaboklab(46.1% -0.0836 0.0498)
OKLCHoklch(46.1% 0.097 149.2)
XYZxyz(6.5432, 10.4876, 5.5496)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6739 #672A58
analogous
#39672A #2A6739 #2A6757
triadic
#2A6739 #392A67 #67392A
tetradic
#2A6739 #2A3967 #672A58 #67572A
square
#2A6739 #2A3967 #672A58 #67572A
split-complementary
#2A6739 #572A67 #672A39
monochromatic
#09160C #183C21 #2A6739 #3C9251 #53B96C

Accessibility & contrast

On white

6.78
#2A6739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A6739 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6739
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6739#FFFFFF#000000##FFFFFF
##2A67391.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#1C655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6739;
/* rgb */ color: rgb(42, 103, 57);
/* oklch */ color: oklch(46.1% 0.097 149.2);
Tailwind
colors: {
  custom: {
    50: '#6a9370',
    500: '#2a6739',
    950: '#000000',
  },
}
SCSS
$custom: #2a6739;
$custom-light: #6a9370;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6739",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 57
  },
  "hsl": {
    "h": 134.754,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.0973,
    "h": 149.2
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#2A6739
secondary
#995488
accent
#56B3D2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2A6739

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

Preview Lab → · Contrast checker → · Palette generator →

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