#2A7141#2A7141

#2A7141 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.104 H 151.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A7141
RGBrgb(42, 113, 65)
HSLhsl(139, 46%, 30%)
HSVhsv(139, 63%, 44%)
CMYKcmyk(62.8%, 0%, 42.5%, 55.7%)
CIE-LABlab(42.28, -33.81, 20.23)
CIE-LCHlch(42.28, 39.40, 149.11°)
OKLaboklab(49.09% -0.0915 0.0502)
OKLCHoklch(49.09% 0.104 151.2)
XYZxyz(7.8135, 12.6834, 7.0364)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7141 #712A5A
analogous
#36712A #2A7141 #2A7164
triadic
#2A7141 #412A71 #71412A
tetradic
#2A7141 #2A3671 #712A5A #71642A
square
#2A7141 #2A3671 #712A5A #71642A
split-complementary
#2A7141 #642A71 #712A36
monochromatic
#09180E #194427 #2A7141 #3B9E5B #55C078

Accessibility & contrast

On white

5.94
#2A7141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A7141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7141
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7141#FFFFFF#000000##FFFFFF
##2A71411.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683E
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#146F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7141;
/* rgb */ color: rgb(42, 113, 65);
/* oklch */ color: oklch(49.1% 0.104 151.2);
Tailwind
colors: {
  custom: {
    50: '#6b9a76',
    500: '#2a7141',
    950: '#000000',
  },
}
SCSS
$custom: #2a7141;
$custom-light: #6b9a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7141",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 65
  },
  "hsl": {
    "h": 139.437,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.10433,
    "h": 151.2
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#2A7141
secondary
#A35489
accent
#52ABD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7141

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

Preview Lab → · Contrast checker → · Palette generator →

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