#2A4222#2A4222

#2A4222 is a dark, moderate green. Relative luminance 0.045; OKLCH L 35.0% C 0.061 H 138.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2A4222
RGBrgb(42, 66, 34)
HSLhsl(105, 32%, 20%)
HSVhsv(105, 48%, 26%)
CMYKcmyk(36.4%, 0%, 48.5%, 74.1%)
CIE-LABlab(25.27, -16.59, 16.57)
CIE-LCHlch(25.27, 23.44, 135.03°)
OKLaboklab(35% -0.0454 0.0406)
OKLCHoklch(35% 0.061 138.2)
XYZxyz(3.1917, 4.5040, 2.2143)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4222 #3A2242
analogous
#3A4222 #2A4222 #22422A
triadic
#2A4222 #222A42 #42222A
tetradic
#2A4222 #223A42 #3A2242 #422A22
square
#2A4222 #223A42 #3A2242 #422A22
split-complementary
#2A4222 #2A2242 #42223A
monochromatic
#0D140A #101A0D #2A4222 #446A37 #5D934C

Accessibility & contrast

On white

11.05
#2A4222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A4222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4222
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4222#FFFFFF#000000##FFFFFF
##2A42221.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D20
Deuteranopia (green-blind)
#403B24
Tritanopia (blue-blind)
#29403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4222;
/* rgb */ color: rgb(42, 66, 34);
/* oklch */ color: oklch(35.0% 0.061 138.2);
Tailwind
colors: {
  custom: {
    50: '#65765d',
    500: '#2a4222',
    950: '#000000',
  },
}
SCSS
$custom: #2a4222;
$custom-light: #65765d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4222",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 32,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35005,
    "c": 0.06088,
    "h": 138.2
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#2A4222
secondary
#6B4A75
accent
#60C8AE
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050804
muted
#7A7B79

Preview Lab

Preview with #2A4222

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

Preview Lab → · Contrast checker → · Palette generator →

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