#2A7022#2A7022

#2A7022 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.132 H 141.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2A7022
RGBrgb(42, 112, 34)
HSLhsl(114, 53%, 29%)
HSVhsv(114, 70%, 44%)
CMYKcmyk(62.5%, 0%, 69.6%, 56.1%)
CIE-LABlab(41.52, -38.00, 35.61)
CIE-LCHlch(41.52, 52.08, 136.86°)
OKLaboklab(48.33% -0.1037 0.0821)
OKLCHoklch(48.33% 0.132 141.6)
XYZxyz(7.0374, 12.1954, 3.4962)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7022 #682270
analogous
#517022 #2A7022 #227041
triadic
#2A7022 #222A70 #70222A
tetradic
#2A7022 #225170 #682270 #704122
square
#2A7022 #225170 #682270 #704122
split-complementary
#2A7022 #412270 #702251
monochromatic
#091707 #184114 #2A7022 #3C9F30 #53C746

Accessibility & contrast

On white

6.11
#2A7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2A7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7022
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7022#FFFFFF#000000##FFFFFF
##2A70221.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#1F6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7022;
/* rgb */ color: rgb(42, 112, 34);
/* oklch */ color: oklch(48.3% 0.132 141.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a61',
    500: '#2a7022',
    950: '#000000',
  },
}
SCSS
$custom: #2a7022;
$custom-light: #6c9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7022",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 113.846,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.13222,
    "h": 141.6
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#2A7022
secondary
#9A4AA3
accent
#4BDDCE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2A7022

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

Preview Lab → · Contrast checker → · Palette generator →

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