#2A7046#2A7046

#2A7046 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.098 H 154.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2A7046
RGBrgb(42, 112, 70)
HSLhsl(144, 45%, 30%)
HSVhsv(144, 63%, 44%)
CMYKcmyk(62.5%, 0%, 37.5%, 56.1%)
CIE-LABlab(42.03, -32.37, 17.01)
CIE-LCHlch(42.03, 36.56, 152.28°)
OKLaboklab(48.91% -0.0878 0.0427)
OKLCHoklch(48.91% 0.098 154.1)
XYZxyz(7.8539, 12.5220, 7.7963)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7046 #702A54
analogous
#31702A #2A7046 #2A7069
triadic
#2A7046 #462A70 #70462A
tetradic
#2A7046 #2A3170 #702A54 #70692A
square
#2A7046 #2A3170 #702A54 #70692A
split-complementary
#2A7046 #692A70 #702A31
monochromatic
#09170E #19432A #2A7046 #3B9D62 #55BF80

Accessibility & contrast

On white

5.99
#2A7046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2A7046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7046
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7046#FFFFFF#000000##FFFFFF
##2A70461.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706743
Deuteranopia (green-blind)
#666149
Tritanopia (blue-blind)
#116F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7046;
/* rgb */ color: rgb(42, 112, 70);
/* oklch */ color: oklch(48.9% 0.098 154.1);
Tailwind
colors: {
  custom: {
    50: '#6b9a79',
    500: '#2a7046',
    950: '#000000',
  },
}
SCSS
$custom: #2a7046;
$custom-light: #6b9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7046",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 70
  },
  "hsl": {
    "h": 144,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.09762,
    "h": 154.1
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#2A7046
secondary
#A25483
accent
#53A1D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7046

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

Preview Lab → · Contrast checker → · Palette generator →

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