#2A754A#2A754A

#2A754A is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.4% C 0.101 H 154.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2A754A
RGBrgb(42, 117, 74)
HSLhsl(146, 47%, 31%)
HSVhsv(146, 64%, 46%)
CMYKcmyk(64.1%, 0%, 36.8%, 54.1%)
CIE-LABlab(43.81, -33.76, 17.07)
CIE-LCHlch(43.81, 37.83, 153.18°)
OKLaboklab(50.4% -0.0916 0.0429)
OKLCHoklch(50.4% 0.101 154.9)
XYZxyz(8.5514, 13.7084, 8.6726)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A754A #752A55
analogous
#2F752A #2A754A #2A756F
triadic
#2A754A #4A2A75 #754A2A
tetradic
#2A754A #2A2F75 #752A55 #756F2A
square
#2A754A #2A2F75 #752A55 #756F2A
split-complementary
#2A754A #6F2A75 #752A2F
monochromatic
#0A1B11 #1A482E #2A754A #3AA266 #57C385

Accessibility & contrast

On white

5.61
#2A754A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2A754A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A754A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A754A#FFFFFF#000000##FFFFFF
##2A754A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C47
Deuteranopia (green-blind)
#6B654D
Tritanopia (blue-blind)
#0A746A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a754a;
/* rgb */ color: rgb(42, 117, 74);
/* oklch */ color: oklch(50.4% 0.101 154.9);
Tailwind
colors: {
  custom: {
    50: '#6c9d7d',
    500: '#2a754a',
    950: '#000000',
  },
}
SCSS
$custom: #2a754a;
$custom-light: #6c9d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a754a",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 74
  },
  "hsl": {
    "h": 145.6,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.10113,
    "h": 154.9
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#2A754A
secondary
#A75483
accent
#519ED7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A754A

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

Preview Lab → · Contrast checker → · Palette generator →

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