#2A7332#2A7332

#2A7332 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.122 H 145.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A7332
RGBrgb(42, 115, 50)
HSLhsl(127, 46%, 31%)
HSVhsv(127, 63%, 45%)
CMYKcmyk(63.5%, 0%, 56.5%, 54.9%)
CIE-LABlab(42.74, -37.20, 29.09)
CIE-LCHlch(42.74, 47.22, 141.98°)
OKLaboklab(49.39% -0.1007 0.0696)
OKLCHoklch(49.39% 0.122 145.4)
XYZxyz(7.6608, 12.9833, 5.1193)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7332 #732A6B
analogous
#46732A #2A7332 #2A7356
triadic
#2A7332 #322A73 #73322A
tetradic
#2A7332 #2A4673 #732A6B #73562A
square
#2A7332 #2A4673 #732A6B #73562A
split-complementary
#2A7332 #562A73 #732A46
monochromatic
#09190B #1A461F #2A7332 #3AA045 #56C162

Accessibility & contrast

On white

5.84
#2A7332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A7332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7332
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7332#FFFFFF#000000##FFFFFF
##2A73321.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692C
Deuteranopia (green-blind)
#6C6237
Tritanopia (blue-blind)
#1A7064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7332;
/* rgb */ color: rgb(42, 115, 50);
/* oklch */ color: oklch(49.4% 0.122 145.4);
Tailwind
colors: {
  custom: {
    50: '#6c9c6c',
    500: '#2a7332',
    950: '#000000',
  },
}
SCSS
$custom: #2a7332;
$custom-light: #6c9c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7332",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 50
  },
  "hsl": {
    "h": 126.575,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.12242,
    "h": 145.4
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#2A7332
secondary
#A5549C
accent
#52C8D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2A7332

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

Preview Lab → · Contrast checker → · Palette generator →

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