#2A7440#2A7440

#2A7440 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.9% C 0.110 H 150.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7440
RGBrgb(42, 116, 64)
HSLhsl(138, 47%, 31%)
HSVhsv(138, 64%, 45%)
CMYKcmyk(63.8%, 0%, 44.8%, 54.5%)
CIE-LABlab(43.29, -35.30, 22.11)
CIE-LCHlch(43.29, 41.65, 147.94°)
OKLaboklab(49.91% -0.0954 0.0546)
OKLCHoklch(49.91% 0.11 150.2)
XYZxyz(8.1250, 13.3524, 6.9986)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7440 #742A5E
analogous
#39742A #2A7440 #2A7465
triadic
#2A7440 #402A74 #74402A
tetradic
#2A7440 #2A3974 #742A5E #74652A
square
#2A7440 #2A3974 #742A5E #74652A
split-complementary
#2A7440 #652A74 #742A39
monochromatic
#091A0E #1A4727 #2A7440 #3AA159 #56C276

Accessibility & contrast

On white

5.72
#2A7440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2A7440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7440
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7440#FFFFFF#000000##FFFFFF
##2A74401.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A3C
Deuteranopia (green-blind)
#6B6443
Tritanopia (blue-blind)
#137267
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7440;
/* rgb */ color: rgb(42, 116, 64);
/* oklch */ color: oklch(49.9% 0.110 150.2);
Tailwind
colors: {
  custom: {
    50: '#6c9d75',
    500: '#2a7440',
    950: '#000000',
  },
}
SCSS
$custom: #2a7440;
$custom-light: #6c9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7440",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 64
  },
  "hsl": {
    "h": 137.838,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.10989,
    "h": 150.2
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#2A7440
secondary
#A6548D
accent
#51AFD6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2A7440

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

Preview Lab → · Contrast checker → · Palette generator →

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