#2A6745#2A6745

#2A6745 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.4% C 0.085 H 156.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2A6745
RGBrgb(42, 103, 69)
HSLhsl(147, 42%, 28%)
HSVhsv(147, 59%, 40%)
CMYKcmyk(59.2%, 0%, 33%, 59.6%)
CIE-LABlab(38.94, -28.43, 13.41)
CIE-LCHlch(38.94, 31.43, 154.75°)
OKLaboklab(46.37% -0.0775 0.0339)
OKLCHoklch(46.37% 0.085 156.4)
XYZxyz(6.8787, 10.6218, 7.3168)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6745 #672A4C
analogous
#2D672A #2A6745 #2A6763
triadic
#2A6745 #452A67 #67452A
tetradic
#2A6745 #2A2D67 #672A4C #67632A
square
#2A6745 #2A2D67 #672A4C #67632A
split-complementary
#2A6745 #632A67 #672A2D
monochromatic
#09160F #183C28 #2A6745 #3C9262 #53B980

Accessibility & contrast

On white

6.72
#2A6745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6745
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6745#FFFFFF#000000##FFFFFF
##2A67451.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F43
Deuteranopia (green-blind)
#5E5947
Tritanopia (blue-blind)
#16665E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6745;
/* rgb */ color: rgb(42, 103, 69);
/* oklch */ color: oklch(46.4% 0.085 156.4);
Tailwind
colors: {
  custom: {
    50: '#699379',
    500: '#2a6745',
    950: '#000000',
  },
}
SCSS
$custom: #2a6745;
$custom-light: #699379;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6745",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 69
  },
  "hsl": {
    "h": 146.557,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.08461,
    "h": 156.4
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#2A6745
secondary
#99547A
accent
#569BD2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #2A6745

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

Preview Lab → · Contrast checker → · Palette generator →

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