#2A7546#2A7546

#2A7546 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.3% C 0.105 H 152.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7546
RGBrgb(42, 117, 70)
HSLhsl(142, 47%, 31%)
HSVhsv(142, 64%, 46%)
CMYKcmyk(64.1%, 0%, 40.2%, 54.1%)
CIE-LABlab(43.74, -34.58, 19.28)
CIE-LCHlch(43.74, 39.59, 150.86°)
OKLaboklab(50.31% -0.0936 0.0481)
OKLCHoklch(50.31% 0.105 152.8)
XYZxyz(8.4209, 13.6562, 7.9853)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7546 #752A59
analogous
#33752A #2A7546 #2A756B
triadic
#2A7546 #462A75 #75462A
tetradic
#2A7546 #2A3375 #752A59 #756B2A
square
#2A7546 #2A3375 #752A59 #756B2A
split-complementary
#2A7546 #6B2A75 #752A33
monochromatic
#0A1B10 #1A482B #2A7546 #3AA261 #57C37F

Accessibility & contrast

On white

5.63
#2A7546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A7546 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7546
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7546#FFFFFF#000000##FFFFFF
##2A75461.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C43
Deuteranopia (green-blind)
#6B6549
Tritanopia (blue-blind)
#0E7369
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7546;
/* rgb */ color: rgb(42, 117, 70);
/* oklch */ color: oklch(50.3% 0.105 152.8);
Tailwind
colors: {
  custom: {
    50: '#6c9d7a',
    500: '#2a7546',
    950: '#000000',
  },
}
SCSS
$custom: #2a7546;
$custom-light: #6c9d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7546",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 70
  },
  "hsl": {
    "h": 142.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.10522,
    "h": 152.8
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#2A7546
secondary
#A75488
accent
#51A5D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7546

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

Preview Lab → · Contrast checker → · Palette generator →

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