#2A7A48#2A7A48

#2A7A48 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.111 H 152.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A7A48
RGBrgb(42, 122, 72)
HSLhsl(143, 49%, 32%)
HSVhsv(143, 66%, 48%)
CMYKcmyk(65.6%, 0%, 41%, 52.2%)
CIE-LABlab(45.47, -36.35, 20.42)
CIE-LCHlch(45.47, 41.69, 150.67°)
OKLaboklab(51.74% -0.0983 0.0508)
OKLCHoklch(51.74% 0.111 152.6)
XYZxyz(9.0833, 14.8783, 8.5227)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A48 #7A2A5C
analogous
#347A2A #2A7A48 #2A7A70
triadic
#2A7A48 #482A7A #7A482A
tetradic
#2A7A48 #2A347A #7A2A5C #7A702A
square
#2A7A48 #2A347A #7A2A5C #7A702A
split-complementary
#2A7A48 #702A7A #7A2A34
monochromatic
#0B1F12 #1A4C2D #2A7A48 #3AA863 #59C682

Accessibility & contrast

On white

5.28
#2A7A48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A7A48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A48
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A48#FFFFFF#000000##FFFFFF
##2A7A481.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#08786D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7a48;
/* rgb */ color: rgb(42, 122, 72);
/* oklch */ color: oklch(51.7% 0.111 152.6);
Tailwind
colors: {
  custom: {
    50: '#6da17b',
    500: '#2a7a48',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a48;
$custom-light: #6da17b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a48",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 72
  },
  "hsl": {
    "h": 142.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.11065,
    "h": 152.6
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#2A7A48
secondary
#AB558B
accent
#4FA5D8
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7A48

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

Preview Lab → · Contrast checker → · Palette generator →

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