#2A4226#2A4226

#2A4226 is a dark, muted green. Relative luminance 0.045; OKLCH L 35.1% C 0.056 H 140.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4226
RGBrgb(42, 66, 38)
HSLhsl(111, 27%, 20%)
HSVhsv(111, 42%, 26%)
CMYKcmyk(36.4%, 0%, 42.4%, 74.1%)
CIE-LABlab(25.35, -15.89, 14.17)
CIE-LCHlch(25.35, 21.29, 138.26°)
OKLaboklab(35.09% -0.0433 0.0352)
OKLCHoklch(35.09% 0.056 140.9)
XYZxyz(3.2528, 4.5285, 2.5360)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4226 #3E2642
analogous
#384226 #2A4226 #264230
triadic
#2A4226 #262A42 #42262A
tetradic
#2A4226 #263842 #3E2642 #423026
square
#2A4226 #263842 #3E2642 #423026
split-complementary
#2A4226 #302642 #422638
monochromatic
#0C130B #111B10 #2A4226 #43693C #5B9053

Accessibility & contrast

On white

11.02
#2A4226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A4226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4226
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4226#FFFFFF#000000##FFFFFF
##2A42261.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D24
Deuteranopia (green-blind)
#403B28
Tritanopia (blue-blind)
#28403B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4226;
/* rgb */ color: rgb(42, 66, 38);
/* oklch */ color: oklch(35.1% 0.056 140.9);
Tailwind
colors: {
  custom: {
    50: '#647660',
    500: '#2a4226',
    950: '#000000',
  },
}
SCSS
$custom: #2a4226;
$custom-light: #647660;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4226",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 111.429,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.05582,
    "h": 140.9
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#2A4226
secondary
#6F4F74
accent
#65C3B6
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050805
muted
#7A7B79

Preview Lab

Preview with #2A4226

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

Preview Lab → · Contrast checker → · Palette generator →

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