#2A774F#2A774F

#2A774F is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.1% C 0.099 H 157.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A774F
RGBrgb(42, 119, 79)
HSLhsl(149, 48%, 32%)
HSVhsv(149, 65%, 47%)
CMYKcmyk(64.7%, 0%, 33.6%, 53.3%)
CIE-LABlab(44.59, -33.58, 15.22)
CIE-LCHlch(44.59, 36.87, 155.62°)
OKLaboklab(51.07% -0.0914 0.0385)
OKLCHoklch(51.07% 0.099 157.2)
XYZxyz(8.9622, 14.2495, 9.6737)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A774F #772A52
analogous
#2C772A #2A774F #2A7776
triadic
#2A774F #4F2A77 #774F2A
tetradic
#2A774F #2A2C77 #772A52 #77762A
square
#2A774F #2A2C77 #772A52 #77762A
split-complementary
#2A774F #762A77 #772A2C
monochromatic
#0A1D13 #1A4A31 #2A774F #3AA46D #58C48C

Accessibility & contrast

On white

5.45
#2A774F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A774F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A774F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A774F#FFFFFF#000000##FFFFFF
##2A774F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4D
Deuteranopia (green-blind)
#6C6752
Tritanopia (blue-blind)
#03766C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a774f;
/* rgb */ color: rgb(42, 119, 79);
/* oklch */ color: oklch(51.1% 0.099 157.2);
Tailwind
colors: {
  custom: {
    50: '#6c9f80',
    500: '#2a774f',
    950: '#000000',
  },
}
SCSS
$custom: #2a774f;
$custom-light: #6c9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a774f",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 79
  },
  "hsl": {
    "h": 148.831,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.09914,
    "h": 157.2
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#2A774F
secondary
#A95480
accent
#5097D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A774F

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

Preview Lab → · Contrast checker → · Palette generator →

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