#2A7846#2A7846

#2A7846 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.110 H 152.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A7846
RGBrgb(42, 120, 70)
HSLhsl(142, 48%, 32%)
HSVhsv(142, 65%, 47%)
CMYKcmyk(65%, 0%, 41.7%, 52.9%)
CIE-LABlab(44.75, -35.88, 20.62)
CIE-LCHlch(44.75, 41.38, 150.11°)
OKLaboklab(51.15% -0.097 0.0513)
OKLCHoklch(51.15% 0.11 152.1)
XYZxyz(8.7761, 14.3665, 8.1037)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7846 #782A5C
analogous
#35782A #2A7846 #2A786D
triadic
#2A7846 #462A78 #78462A
tetradic
#2A7846 #2A3578 #782A5C #786D2A
square
#2A7846 #2A3578 #782A5C #786D2A
split-complementary
#2A7846 #6D2A78 #782A35
monochromatic
#0A1D11 #1A4B2C #2A7846 #3AA560 #58C57F

Accessibility & contrast

On white

5.42
#2A7846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A7846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7846
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7846#FFFFFF#000000##FFFFFF
##2A78461.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E43
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#0C766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7846;
/* rgb */ color: rgb(42, 120, 70);
/* oklch */ color: oklch(51.1% 0.110 152.1);
Tailwind
colors: {
  custom: {
    50: '#6da07a',
    500: '#2a7846',
    950: '#000000',
  },
}
SCSS
$custom: #2a7846;
$custom-light: #6da07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7846",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 141.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.10972,
    "h": 152.1
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#2A7846
secondary
#AA548B
accent
#50A7D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #2A7846

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

Preview Lab → · Contrast checker → · Palette generator →

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