#2A6219#2A6219

#2A6219 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.120 H 139.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2A6219
RGBrgb(42, 98, 25)
HSLhsl(106, 59%, 24%)
HSVhsv(106, 74%, 38%)
CMYKcmyk(57.1%, 0%, 74.5%, 61.6%)
CIE-LABlab(36.55, -33.14, 34.34)
CIE-LCHlch(36.55, 47.72, 133.98°)
OKLaboklab(44.2% -0.0911 0.0782)
OKLCHoklch(44.2% 0.12 139.4)
XYZxyz(5.4978, 9.2974, 2.4244)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6219 #511962
analogous
#4F6219 #2A6219 #19622D
triadic
#2A6219 #192A62 #62192A
tetradic
#2A6219 #194F62 #511962 #622D19
square
#2A6219 #194F62 #511962 #622D19
split-complementary
#2A6219 #2D1962 #62194F
monochromatic
#0A1806 #15310D #2A6219 #3F9325 #54C432

Accessibility & contrast

On white

7.34
#2A6219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A6219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6219
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6219#FFFFFF#000000##FFFFFF
##2A62191.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590E
Deuteranopia (green-blind)
#5E5420
Tritanopia (blue-blind)
#245F53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a6219;
/* rgb */ color: rgb(42, 98, 25);
/* oklch */ color: oklch(44.2% 0.120 139.4);
Tailwind
colors: {
  custom: {
    50: '#6a8f5a',
    500: '#2a6219',
    950: '#000000',
  },
}
SCSS
$custom: #2a6219;
$custom-light: #6a8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6219",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 25
  },
  "hsl": {
    "h": 106.027,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.442,
    "c": 0.12007,
    "h": 139.4
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#2A6219
secondary
#833F98
accent
#45E3BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6219

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

Preview Lab → · Contrast checker → · Palette generator →

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