#2A7C49#2A7C49

#2A7C49 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.113 H 152.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7C49
RGBrgb(42, 124, 73)
HSLhsl(143, 49%, 33%)
HSVhsv(143, 66%, 49%)
CMYKcmyk(66.1%, 0%, 41.1%, 51.4%)
CIE-LABlab(46.16, -37.00, 20.77)
CIE-LCHlch(46.16, 42.43, 150.69°)
OKLaboklab(52.32% -0.1 0.0517)
OKLCHoklch(52.32% 0.113 152.7)
XYZxyz(9.3643, 15.3876, 8.7786)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C49 #7C2A5D
analogous
#347C2A #2A7C49 #2A7C72
triadic
#2A7C49 #492A7C #7C492A
tetradic
#2A7C49 #2A347C #7C2A5D #7C722A
square
#2A7C49 #2A347C #7C2A5D #7C722A
split-complementary
#2A7C49 #722A7C #7C2A34
monochromatic
#0B2113 #1B4E2E #2A7C49 #39AA64 #59C783

Accessibility & contrast

On white

5.15
#2A7C49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7C49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C49
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C49#FFFFFF#000000##FFFFFF
##2A7C491.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7245
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#067A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7c49;
/* rgb */ color: rgb(42, 124, 73);
/* oklch */ color: oklch(52.3% 0.113 152.7);
Tailwind
colors: {
  custom: {
    50: '#6da37c',
    500: '#2a7c49',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c49;
$custom-light: #6da37c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c49",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 73
  },
  "hsl": {
    "h": 142.683,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.11259,
    "h": 152.7
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#2A7C49
secondary
#AD558C
accent
#4FA5D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7C49

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

Preview Lab → · Contrast checker → · Palette generator →

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