#2A7130#2A7130

#2A7130 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.121 H 144.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2A7130
RGBrgb(42, 113, 48)
HSLhsl(125, 46%, 30%)
HSVhsv(125, 63%, 44%)
CMYKcmyk(62.8%, 0%, 57.5%, 55.7%)
CIE-LABlab(42.02, -36.67, 29.28)
CIE-LCHlch(42.02, 46.92, 141.39°)
OKLaboklab(48.79% -0.0993 0.0699)
OKLCHoklch(48.79% 0.121 144.9)
XYZxyz(7.3930, 12.5152, 4.8218)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7130 #712A6B
analogous
#48712A #2A7130 #2A7153
triadic
#2A7130 #302A71 #71302A
tetradic
#2A7130 #2A4871 #712A6B #71532A
square
#2A7130 #2A4871 #712A6B #71532A
split-complementary
#2A7130 #532A71 #712A48
monochromatic
#09180A #19441D #2A7130 #3B9E43 #55C05E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7130#FFFFFF#000000##FFFFFF
##2A71301.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)
#73672A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#1B6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7130;
/* rgb */ color: rgb(42, 113, 48);
/* oklch */ color: oklch(48.8% 0.121 144.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a6a',
    500: '#2a7130',
    950: '#000000',
  },
}
SCSS
$custom: #2a7130;
$custom-light: #6c9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7130",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 48
  },
  "hsl": {
    "h": 125.07,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.12146,
    "h": 144.9
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#2A7130
secondary
#A3549C
accent
#52CAD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A7130

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

Preview Lab → · Contrast checker → · Palette generator →

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