#2A6747#2A6747

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

Color values

HEX#2A6747
RGBrgb(42, 103, 71)
HSLhsl(149, 42%, 28%)
HSVhsv(149, 59%, 40%)
CMYKcmyk(59.2%, 0%, 31.1%, 59.6%)
CIE-LABlab(38.98, -27.98, 12.27)
CIE-LCHlch(38.98, 30.55, 156.33°)
OKLaboklab(46.42% -0.0765 0.0312)
OKLCHoklch(46.42% 0.083 157.8)
XYZxyz(6.9418, 10.6470, 7.6493)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6747 #672A4A
analogous
#2B672A #2A6747 #2A6765
triadic
#2A6747 #472A67 #67472A
tetradic
#2A6747 #2A2B67 #672A4A #67652A
square
#2A6747 #2A2B67 #672A4A #67652A
split-complementary
#2A6747 #652A67 #672A2B
monochromatic
#09160F #183C29 #2A6747 #3C9265 #53B983

Accessibility & contrast

On white

6.71
#2A6747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6747
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6747#FFFFFF#000000##FFFFFF
##2A67471.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F45
Deuteranopia (green-blind)
#5E5949
Tritanopia (blue-blind)
#15665E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6747;
/* rgb */ color: rgb(42, 103, 71);
/* oklch */ color: oklch(46.4% 0.083 157.8);
Tailwind
colors: {
  custom: {
    50: '#69937a',
    500: '#2a6747',
    950: '#000000',
  },
}
SCSS
$custom: #2a6747;
$custom-light: #69937a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6747",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 71
  },
  "hsl": {
    "h": 148.525,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.08257,
    "h": 157.8
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#2A6747
secondary
#995478
accent
#5697D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #2A6747

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

Preview Lab → · Contrast checker → · Palette generator →

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