#2A7F49#2A7F49

#2A7F49 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.117 H 152.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A7F49
RGBrgb(42, 127, 73)
HSLhsl(142, 50%, 33%)
HSVhsv(142, 67%, 50%)
CMYKcmyk(66.9%, 0%, 42.5%, 50.2%)
CIE-LABlab(47.17, -38.27, 22.10)
CIE-LCHlch(47.17, 44.19, 149.99°)
OKLaboklab(53.15% -0.1033 0.0548)
OKLCHoklch(53.15% 0.117 152.1)
XYZxyz(9.7460, 16.1510, 8.9059)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F49 #7F2A60
analogous
#367F2A #2A7F49 #2A7F73
triadic
#2A7F49 #492A7F #7F492A
tetradic
#2A7F49 #2A367F #7F2A60 #7F732A
square
#2A7F49 #2A367F #7F2A60 #7F732A
split-complementary
#2A7F49 #732A7F #7F2A36
monochromatic
#0C2314 #1B512F #2A7F49 #39AD63 #5BC983

Accessibility & contrast

On white

4.96
#2A7F49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A7F49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F49
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F49#FFFFFF#000000##FFFFFF
##2A7F491.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7445
Deuteranopia (green-blind)
#746D4D
Tritanopia (blue-blind)
#037D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7f49;
/* rgb */ color: rgb(42, 127, 73);
/* oklch */ color: oklch(53.2% 0.117 152.1);
Tailwind
colors: {
  custom: {
    50: '#6ea57c',
    500: '#2a7f49',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f49;
$custom-light: #6ea57c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f49",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 73
  },
  "hsl": {
    "h": 141.882,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.11698,
    "h": 152.1
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#2A7F49
secondary
#AE578E
accent
#4EA7DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7F49

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

Preview Lab → · Contrast checker → · Palette generator →

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