#2A7544#2A7544

#2A7544 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.3% C 0.107 H 151.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A7544
RGBrgb(42, 117, 68)
HSLhsl(141, 47%, 31%)
HSVhsv(141, 64%, 46%)
CMYKcmyk(64.1%, 0%, 41.9%, 54.1%)
CIE-LABlab(43.70, -34.97, 20.37)
CIE-LCHlch(43.70, 40.48, 149.78°)
OKLaboklab(50.27% -0.0946 0.0506)
OKLCHoklch(50.27% 0.107 151.8)
XYZxyz(8.3589, 13.6313, 7.6583)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7544 #752A5B
analogous
#35752A #2A7544 #2A7569
triadic
#2A7544 #442A75 #75442A
tetradic
#2A7544 #2A3575 #752A5B #75692A
square
#2A7544 #2A3575 #752A5B #75692A
split-complementary
#2A7544 #692A75 #752A35
monochromatic
#0A1B10 #1A482A #2A7544 #3AA25E #57C37C

Accessibility & contrast

On white

5.64
#2A7544 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A7544 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7544
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7544#FFFFFF#000000##FFFFFF
##2A75441.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B41
Deuteranopia (green-blind)
#6B6547
Tritanopia (blue-blind)
#107369
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7544;
/* rgb */ color: rgb(42, 117, 68);
/* oklch */ color: oklch(50.3% 0.107 151.8);
Tailwind
colors: {
  custom: {
    50: '#6c9d78',
    500: '#2a7544',
    950: '#000000',
  },
}
SCSS
$custom: #2a7544;
$custom-light: #6c9d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7544",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 68
  },
  "hsl": {
    "h": 140.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.10727,
    "h": 151.8
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#2A7544
secondary
#A7548A
accent
#51A8D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7544

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

Preview Lab → · Contrast checker → · Palette generator →

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