#2A7120#2A7120

#2A7120 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.135 H 141.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2A7120
RGBrgb(42, 113, 32)
HSLhsl(113, 56%, 28%)
HSVhsv(113, 72%, 44%)
CMYKcmyk(62.8%, 0%, 71.7%, 55.7%)
CIE-LABlab(41.85, -38.60, 36.86)
CIE-LCHlch(41.85, 53.37, 136.32°)
OKLaboklab(48.59% -0.1054 0.0844)
OKLCHoklch(48.59% 0.135 141.3)
XYZxyz(7.1203, 12.4061, 3.3856)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7120 #672071
analogous
#527120 #2A7120 #20713E
triadic
#2A7120 #202A71 #71202A
tetradic
#2A7120 #205271 #672071 #713E20
square
#2A7120 #205271 #672071 #713E20
split-complementary
#2A7120 #3E2071 #712052
monochromatic
#091807 #184112 #2A7120 #3CA12E #53C942

Accessibility & contrast

On white

6.03
#2A7120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A7120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7120
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7120#FFFFFF#000000##FFFFFF
##2A71201.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746614
Deuteranopia (green-blind)
#6B6028
Tritanopia (blue-blind)
#1F6D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7120;
/* rgb */ color: rgb(42, 113, 32);
/* oklch */ color: oklch(48.6% 0.135 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9a60',
    500: '#2a7120',
    950: '#000000',
  },
}
SCSS
$custom: #2a7120;
$custom-light: #6d9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7120",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 112.593,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.13506,
    "h": 141.3
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#2A7120
secondary
#9948A5
accent
#49DFCD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7120

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

Preview Lab → · Contrast checker → · Palette generator →

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