#2A6232#2A6232

#2A6232 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.097 H 146.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6232
RGBrgb(42, 98, 50)
HSLhsl(129, 40%, 27%)
HSVhsv(129, 57%, 38%)
CMYKcmyk(57.1%, 0%, 49%, 61.6%)
CIE-LABlab(36.85, -29.85, 21.81)
CIE-LCHlch(36.85, 36.97, 143.85°)
OKLaboklab(44.54% -0.0809 0.0533)
OKLCHoklch(44.54% 0.097 146.6)
XYZxyz(5.8979, 9.4574, 4.5317)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6232 #622A5A
analogous
#3E622A #2A6232 #2A624E
triadic
#2A6232 #322A62 #62322A
tetradic
#2A6232 #2A3E62 #622A5A #624E2A
square
#2A6232 #2A3E62 #622A5A #624E2A
split-complementary
#2A6232 #4E2A62 #622A3E
monochromatic
#09150B #18371C #2A6232 #3C8D48 #52B560

Accessibility & contrast

On white

7.26
#2A6232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A6232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6232
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6232#FFFFFF#000000##FFFFFF
##2A62321.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#1F6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6232;
/* rgb */ color: rgb(42, 98, 50);
/* oklch */ color: oklch(44.5% 0.097 146.6);
Tailwind
colors: {
  custom: {
    50: '#698f6b',
    500: '#2a6232',
    950: '#000000',
  },
}
SCSS
$custom: #2a6232;
$custom-light: #698f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6232",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 128.571,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.0969,
    "h": 146.6
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#2A6232
secondary
#94538B
accent
#58BFD0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2A6232

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

Preview Lab → · Contrast checker → · Palette generator →

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