#2A7320#2A7320

#2A7320 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.138 H 141.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A7320
RGBrgb(42, 115, 32)
HSLhsl(113, 56%, 29%)
HSVhsv(113, 72%, 45%)
CMYKcmyk(63.5%, 0%, 72.2%, 54.9%)
CIE-LABlab(42.55, -39.38, 37.59)
CIE-LCHlch(42.55, 54.44, 136.33°)
OKLaboklab(49.17% -0.1075 0.086)
OKLCHoklch(49.17% 0.138 141.4)
XYZxyz(7.3459, 12.8573, 3.4608)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7320 #692073
analogous
#547320 #2A7320 #207340
triadic
#2A7320 #202A73 #73202A
tetradic
#2A7320 #205473 #692073 #734020
square
#2A7320 #205473 #692073 #734020
split-complementary
#2A7320 #402073 #732054
monochromatic
#091807 #194313 #2A7320 #3BA32D #53CB43

Accessibility & contrast

On white

5.88
#2A7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7320
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7320#FFFFFF#000000##FFFFFF
##2A73201.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#1E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7320;
/* rgb */ color: rgb(42, 115, 32);
/* oklch */ color: oklch(49.2% 0.138 141.4);
Tailwind
colors: {
  custom: {
    50: '#6d9c60',
    500: '#2a7320',
    950: '#000000',
  },
}
SCSS
$custom: #2a7320;
$custom-light: #6d9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7320",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 112.771,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.13768,
    "h": 141.4
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#2A7320
secondary
#9B48A7
accent
#48E0CD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7320

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

Preview Lab → · Contrast checker → · Palette generator →

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