#2A7541#2A7541

#2A7541 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.110 H 150.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7541
RGBrgb(42, 117, 65)
HSLhsl(138, 47%, 31%)
HSVhsv(138, 64%, 46%)
CMYKcmyk(64.1%, 0%, 44.4%, 54.1%)
CIE-LABlab(43.65, -35.54, 22.01)
CIE-LCHlch(43.65, 41.81, 148.24°)
OKLaboklab(50.21% -0.096 0.0544)
OKLCHoklch(50.21% 0.11 150.5)
XYZxyz(8.2696, 13.5957, 7.1884)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7541 #752A5E
analogous
#38752A #2A7541 #2A7566
triadic
#2A7541 #412A75 #75412A
tetradic
#2A7541 #2A3875 #752A5E #75662A
square
#2A7541 #2A3875 #752A5E #75662A
split-complementary
#2A7541 #662A75 #752A38
monochromatic
#0A1B0F #1A4828 #2A7541 #3AA25A #57C378

Accessibility & contrast

On white

5.65
#2A7541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A7541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7541
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7541#FFFFFF#000000##FFFFFF
##2A75411.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3D
Deuteranopia (green-blind)
#6C6444
Tritanopia (blue-blind)
#127368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7541;
/* rgb */ color: rgb(42, 117, 65);
/* oklch */ color: oklch(50.2% 0.110 150.5);
Tailwind
colors: {
  custom: {
    50: '#6c9d76',
    500: '#2a7541',
    950: '#000000',
  },
}
SCSS
$custom: #2a7541;
$custom-light: #6c9d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7541",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 65
  },
  "hsl": {
    "h": 138.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.11036,
    "h": 150.5
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#2A7541
secondary
#A7548D
accent
#51AED7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7541

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

Preview Lab → · Contrast checker → · Palette generator →

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