#2A7136#2A7136

#2A7136 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.116 H 146.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2A7136
RGBrgb(42, 113, 54)
HSLhsl(130, 46%, 30%)
HSVhsv(130, 63%, 44%)
CMYKcmyk(62.8%, 0%, 52.2%, 55.7%)
CIE-LABlab(42.11, -35.75, 26.17)
CIE-LCHlch(42.11, 44.31, 143.80°)
OKLaboklab(48.88% -0.0967 0.0634)
OKLCHoklch(48.88% 0.116 146.8)
XYZxyz(7.5253, 12.5681, 5.5186)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7136 #712A65
analogous
#41712A #2A7136 #2A7159
triadic
#2A7136 #362A71 #71362A
tetradic
#2A7136 #2A4171 #712A65 #71592A
square
#2A7136 #2A4171 #712A65 #71592A
split-complementary
#2A7136 #592A71 #712A41
monochromatic
#09180B #194421 #2A7136 #3B9E4B #55C067

Accessibility & contrast

On white

5.98
#2A7136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2A7136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7136
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7136#FFFFFF#000000##FFFFFF
##2A71361.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726731
Deuteranopia (green-blind)
#69613A
Tritanopia (blue-blind)
#196E63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7136;
/* rgb */ color: rgb(42, 113, 54);
/* oklch */ color: oklch(48.9% 0.116 146.8);
Tailwind
colors: {
  custom: {
    50: '#6c9a6e',
    500: '#2a7136',
    950: '#000000',
  },
}
SCSS
$custom: #2a7136;
$custom-light: #6c9a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7136",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 130.141,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.1156,
    "h": 146.8
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#2A7136
secondary
#A35496
accent
#52BFD5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2A7136

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

Preview Lab → · Contrast checker → · Palette generator →

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