#2A7220#2A7220

#2A7220 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.136 H 141.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2A7220
RGBrgb(42, 114, 32)
HSLhsl(113, 56%, 29%)
HSVhsv(113, 72%, 45%)
CMYKcmyk(63.2%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.20, -38.99, 37.23)
CIE-LCHlch(42.20, 53.91, 136.33°)
OKLaboklab(48.88% -0.1065 0.0852)
OKLCHoklch(48.88% 0.136 141.3)
XYZxyz(7.2325, 12.6305, 3.4230)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7220 #682072
analogous
#537220 #2A7220 #20723F
triadic
#2A7220 #202A72 #72202A
tetradic
#2A7220 #205372 #682072 #723F20
square
#2A7220 #205372 #682072 #723F20
split-complementary
#2A7220 #3F2072 #722053
monochromatic
#091807 #184213 #2A7220 #3CA22D #53CA42

Accessibility & contrast

On white

5.96
#2A7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7220
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7220#FFFFFF#000000##FFFFFF
##2A72201.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#1F6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7220;
/* rgb */ color: rgb(42, 114, 32);
/* oklch */ color: oklch(48.9% 0.136 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9b60',
    500: '#2a7220',
    950: '#000000',
  },
}
SCSS
$custom: #2a7220;
$custom-light: #6d9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7220",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 112.683,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.13638,
    "h": 141.3
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#2A7220
secondary
#9A48A6
accent
#48DFCD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7220

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

Preview Lab → · Contrast checker → · Palette generator →

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