#2A7D4A#2A7D4A

#2A7D4A is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.113 H 152.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A7D4A
RGBrgb(42, 125, 74)
HSLhsl(143, 50%, 33%)
HSVhsv(143, 66%, 49%)
CMYKcmyk(66.4%, 0%, 40.8%, 51%)
CIE-LABlab(46.52, -37.23, 20.68)
CIE-LCHlch(46.52, 42.59, 150.95°)
OKLaboklab(52.62% -0.1006 0.0515)
OKLCHoklch(52.62% 0.113 152.9)
XYZxyz(9.5237, 15.6529, 8.9966)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D4A #7D2A5D
analogous
#337D2A #2A7D4A #2A7D74
triadic
#2A7D4A #4A2A7D #7D4A2A
tetradic
#2A7D4A #2A337D #7D2A5D #7D742A
square
#2A7D4A #2A337D #7D2A5D #7D742A
split-complementary
#2A7D4A #742A7D #7D2A33
monochromatic
#0B2114 #1B4F2F #2A7D4A #39AB65 #5AC884

Accessibility & contrast

On white

5.08
#2A7D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D4A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D4A#FFFFFF#000000##FFFFFF
##2A7D4A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7346
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#047B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d4a;
/* rgb */ color: rgb(42, 125, 74);
/* oklch */ color: oklch(52.6% 0.113 152.9);
Tailwind
colors: {
  custom: {
    50: '#6ea37d',
    500: '#2a7d4a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d4a;
$custom-light: #6ea37d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d4a",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 143.133,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.11305,
    "h": 152.9
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#2A7D4A
secondary
#AD568B
accent
#4FA4D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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