#2A7348#2A7348

#2A7348 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.100 H 154.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A7348
RGBrgb(42, 115, 72)
HSLhsl(145, 46%, 31%)
HSVhsv(145, 63%, 45%)
CMYKcmyk(63.5%, 0%, 37.4%, 54.9%)
CIE-LABlab(43.09, -33.29, 17.27)
CIE-LCHlch(43.09, 37.50, 152.59°)
OKLaboklab(49.8% -0.0903 0.0433)
OKLCHoklch(49.8% 0.1 154.4)
XYZxyz(8.2546, 13.2208, 8.2465)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7348 #732A55
analogous
#30732A #2A7348 #2A736C
triadic
#2A7348 #482A73 #73482A
tetradic
#2A7348 #2A3073 #732A55 #736C2A
square
#2A7348 #2A3073 #732A55 #736C2A
split-complementary
#2A7348 #6C2A73 #732A30
monochromatic
#091910 #1A462C #2A7348 #3AA064 #56C182

Accessibility & contrast

On white

5.76
#2A7348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2A7348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7348
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7348#FFFFFF#000000##FFFFFF
##2A73481.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A45
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#0E7268
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7348;
/* rgb */ color: rgb(42, 115, 72);
/* oklch */ color: oklch(49.8% 0.100 154.4);
Tailwind
colors: {
  custom: {
    50: '#6c9c7b',
    500: '#2a7348',
    950: '#000000',
  },
}
SCSS
$custom: #2a7348;
$custom-light: #6c9c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7348",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 72
  },
  "hsl": {
    "h": 144.658,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.10015,
    "h": 154.4
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#2A7348
secondary
#A55484
accent
#52A0D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7348

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

Preview Lab → · Contrast checker → · Palette generator →

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