#2A774A#2A774A

#2A774A is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.104 H 154.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A774A
RGBrgb(42, 119, 74)
HSLhsl(145, 48%, 32%)
HSVhsv(145, 65%, 47%)
CMYKcmyk(64.7%, 0%, 37.8%, 53.3%)
CIE-LABlab(44.49, -34.64, 17.98)
CIE-LCHlch(44.49, 39.03, 152.57°)
OKLaboklab(50.95% -0.0939 0.0451)
OKLCHoklch(50.95% 0.104 154.4)
XYZxyz(8.7870, 14.1794, 8.7511)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A774A #772A57
analogous
#31772A #2A774A #2A7771
triadic
#2A774A #4A2A77 #774A2A
tetradic
#2A774A #2A3177 #772A57 #77712A
square
#2A774A #2A3177 #772A57 #77712A
split-complementary
#2A774A #712A77 #772A31
monochromatic
#0A1D12 #1A4A2E #2A774A #3AA466 #58C485

Accessibility & contrast

On white

5.47
#2A774A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A774A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A774A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A774A#FFFFFF#000000##FFFFFF
##2A774A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E47
Deuteranopia (green-blind)
#6D664D
Tritanopia (blue-blind)
#09766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a774a;
/* rgb */ color: rgb(42, 119, 74);
/* oklch */ color: oklch(51.0% 0.104 154.4);
Tailwind
colors: {
  custom: {
    50: '#6c9f7d',
    500: '#2a774a',
    950: '#000000',
  },
}
SCSS
$custom: #2a774a;
$custom-light: #6c9f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a774a",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 74
  },
  "hsl": {
    "h": 144.935,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.10415,
    "h": 154.4
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#2A774A
secondary
#A95486
accent
#509FD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A774A

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

Preview Lab → · Contrast checker → · Palette generator →

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