#2A7745#2A7745

#2A7745 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.8% C 0.109 H 151.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A7745
RGBrgb(42, 119, 69)
HSLhsl(141, 48%, 32%)
HSVhsv(141, 65%, 47%)
CMYKcmyk(64.7%, 0%, 42%, 53.3%)
CIE-LABlab(44.40, -35.64, 20.72)
CIE-LCHlch(44.40, 41.23, 149.83°)
OKLaboklab(50.85% -0.0964 0.0515)
OKLCHoklch(50.85% 0.109 151.9)
XYZxyz(8.6252, 14.1147, 7.8989)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7745 #772A5C
analogous
#36772A #2A7745 #2A776C
triadic
#2A7745 #452A77 #77452A
tetradic
#2A7745 #2A3677 #772A5C #776C2A
square
#2A7745 #2A3677 #772A5C #776C2A
split-complementary
#2A7745 #6C2A77 #772A36
monochromatic
#0A1D11 #1A4A2B #2A7745 #3AA45F #58C47E

Accessibility & contrast

On white

5.49
#2A7745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A7745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7745
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7745#FFFFFF#000000##FFFFFF
##2A77451.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#0E756B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7745;
/* rgb */ color: rgb(42, 119, 69);
/* oklch */ color: oklch(50.8% 0.109 151.9);
Tailwind
colors: {
  custom: {
    50: '#6c9f79',
    500: '#2a7745',
    950: '#000000',
  },
}
SCSS
$custom: #2a7745;
$custom-light: #6c9f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7745",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 69
  },
  "hsl": {
    "h": 141.039,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.10925,
    "h": 151.9
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#2A7745
secondary
#A9548B
accent
#50A8D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7745

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

Preview Lab → · Contrast checker → · Palette generator →

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