#2A7620#2A7620

#2A7620 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.142 H 141.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7620
RGBrgb(42, 118, 32)
HSLhsl(113, 57%, 29%)
HSVhsv(113, 73%, 46%)
CMYKcmyk(64.4%, 0%, 72.9%, 53.7%)
CIE-LABlab(43.58, -40.54, 38.68)
CIE-LCHlch(43.58, 56.03, 136.35°)
OKLaboklab(50.02% -0.1107 0.0883)
OKLCHoklch(50.02% 0.142 141.4)
XYZxyz(7.6936, 13.5527, 3.5767)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7620 #6C2076
analogous
#557620 #2A7620 #207641
triadic
#2A7620 #202A76 #76202A
tetradic
#2A7620 #205576 #6C2076 #764120
square
#2A7620 #205576 #6C2076 #764120
split-complementary
#2A7620 #412076 #762055
monochromatic
#091807 #194613 #2A7620 #3BA62D #54CC44

Accessibility & contrast

On white

5.66
#2A7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7620
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7620#FFFFFF#000000##FFFFFF
##2A76201.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1D7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7620;
/* rgb */ color: rgb(42, 118, 32);
/* oklch */ color: oklch(50.0% 0.142 141.4);
Tailwind
colors: {
  custom: {
    50: '#6e9e61',
    500: '#2a7620',
    950: '#000000',
  },
}
SCSS
$custom: #2a7620;
$custom-light: #6e9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7620",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 113.023,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.14156,
    "h": 141.4
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#2A7620
secondary
#9E48A9
accent
#47E1CF
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7620

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

Preview Lab → · Contrast checker → · Palette generator →

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