#2A4E22#2A4E22

#2A4E22 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.082 H 140.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2A4E22
RGBrgb(42, 78, 34)
HSLhsl(109, 39%, 22%)
HSVhsv(109, 56%, 31%)
CMYKcmyk(46.2%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.55, -22.90, 21.90)
CIE-LCHlch(29.55, 31.69, 136.28°)
OKLaboklab(38.49% -0.0627 0.0526)
OKLCHoklch(38.49% 0.082 140)
XYZxyz(3.9678, 6.0563, 2.4730)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E22 #46224E
analogous
#404E22 #2A4E22 #224E30
triadic
#2A4E22 #222A4E #4E222A
tetradic
#2A4E22 #22404E #46224E #4E3022
square
#2A4E22 #22404E #46224E #4E3022
split-complementary
#2A4E22 #30224E #4E2240
monochromatic
#0B1509 #13230F #2A4E22 #417935 #58A347

Accessibility & contrast

On white

9.50
#2A4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E22
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E22#FFFFFF#000000##FFFFFF
##2A4E221.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4B4425
Tritanopia (blue-blind)
#274C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e22;
/* rgb */ color: rgb(42, 78, 34);
/* oklch */ color: oklch(38.5% 0.082 140.0);
Tailwind
colors: {
  custom: {
    50: '#66805e',
    500: '#2a4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e22;
$custom-light: #66805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e22",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 109.091,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.0818,
    "h": 140
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#2A4E22
secondary
#784A82
accent
#59CFBA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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