#2A7849#2A7849

#2A7849 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.107 H 153.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A7849
RGBrgb(42, 120, 73)
HSLhsl(144, 48%, 32%)
HSVhsv(144, 65%, 47%)
CMYKcmyk(65%, 0%, 39.2%, 52.9%)
CIE-LABlab(44.81, -35.28, 18.98)
CIE-LCHlch(44.81, 40.07, 151.72°)
OKLaboklab(51.21% -0.0955 0.0474)
OKLCHoklch(51.21% 0.107 153.6)
XYZxyz(8.8732, 14.4053, 8.6149)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7849 #782A59
analogous
#32782A #2A7849 #2A7870
triadic
#2A7849 #492A78 #78492A
tetradic
#2A7849 #2A3278 #782A59 #78702A
square
#2A7849 #2A3278 #782A59 #78702A
split-complementary
#2A7849 #702A78 #782A32
monochromatic
#0A1D12 #1A4B2D #2A7849 #3AA565 #58C583

Accessibility & contrast

On white

5.41
#2A7849 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A7849 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7849
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7849#FFFFFF#000000##FFFFFF
##2A78491.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E46
Deuteranopia (green-blind)
#6E674C
Tritanopia (blue-blind)
#09776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7849;
/* rgb */ color: rgb(42, 120, 73);
/* oklch */ color: oklch(51.2% 0.107 153.6);
Tailwind
colors: {
  custom: {
    50: '#6da07c',
    500: '#2a7849',
    950: '#000000',
  },
}
SCSS
$custom: #2a7849;
$custom-light: #6da07c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7849",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 73
  },
  "hsl": {
    "h": 143.846,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.10665,
    "h": 153.6
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#2A7849
secondary
#AA5488
accent
#50A2D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #2A7849

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

Preview Lab → · Contrast checker → · Palette generator →

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