#2A7445#2A7445

#2A7445 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.0% C 0.105 H 152.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7445
RGBrgb(42, 116, 69)
HSLhsl(142, 47%, 31%)
HSVhsv(142, 64%, 45%)
CMYKcmyk(63.8%, 0%, 40.5%, 54.5%)
CIE-LABlab(43.38, -34.34, 19.38)
CIE-LCHlch(43.38, 39.43, 150.57°)
OKLaboklab(50.01% -0.0929 0.0483)
OKLCHoklch(50.01% 0.105 152.5)
XYZxyz(8.2738, 13.4119, 7.7818)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7445 #742A59
analogous
#34742A #2A7445 #2A746A
triadic
#2A7445 #452A74 #74452A
tetradic
#2A7445 #2A3474 #742A59 #746A2A
square
#2A7445 #2A3474 #742A59 #746A2A
split-complementary
#2A7445 #6A2A74 #742A34
monochromatic
#091A10 #1A472A #2A7445 #3AA160 #56C27E

Accessibility & contrast

On white

5.70
#2A7445 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2A7445 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7445
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7445#FFFFFF#000000##FFFFFF
##2A74451.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746B42
Deuteranopia (green-blind)
#6A6448
Tritanopia (blue-blind)
#107268
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7445;
/* rgb */ color: rgb(42, 116, 69);
/* oklch */ color: oklch(50.0% 0.105 152.5);
Tailwind
colors: {
  custom: {
    50: '#6c9d79',
    500: '#2a7445',
    950: '#000000',
  },
}
SCSS
$custom: #2a7445;
$custom-light: #6c9d79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7445",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 69
  },
  "hsl": {
    "h": 141.892,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.10474,
    "h": 152.5
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#2A7445
secondary
#A65488
accent
#51A6D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7445

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

Preview Lab → · Contrast checker → · Palette generator →

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