#2A4032#2A4032

#2A4032 is a dark, muted green. Relative luminance 0.044; OKLCH L 34.8% C 0.037 H 156.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2A4032
RGBrgb(42, 64, 50)
HSLhsl(142, 21%, 21%)
HSVhsv(142, 34%, 25%)
CMYKcmyk(34.4%, 0%, 21.9%, 74.9%)
CIE-LABlab(24.92, -12.21, 5.85)
CIE-LCHlch(24.92, 13.54, 154.42°)
OKLaboklab(34.84% -0.0338 0.015)
OKLCHoklch(34.84% 0.037 156)
XYZxyz(3.3638, 4.3892, 3.6869)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4032 #402A38
analogous
#2D402A #2A4032 #2A403D
triadic
#2A4032 #322A40 #40322A
tetradic
#2A4032 #2A2D40 #402A38 #403D2A
square
#2A4032 #2A2D40 #402A38 #403D2A
split-complementary
#2A4032 #3D2A40 #402A2D
monochromatic
#0C120E #121B15 #2A4032 #42654F #5A8A6C

Accessibility & contrast

On white

11.18
#2A4032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A4032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4032
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4032#FFFFFF#000000##FFFFFF
##2A40321.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#3C3A33
Tritanopia (blue-blind)
#26403C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4032;
/* rgb */ color: rgb(42, 64, 50);
/* oklch */ color: oklch(34.8% 0.037 156.0);
Tailwind
colors: {
  custom: {
    50: '#647569',
    500: '#2a4032',
    950: '#000000',
  },
}
SCSS
$custom: #2a4032;
$custom-light: #647569;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4032",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 50
  },
  "hsl": {
    "h": 141.818,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34836,
    "c": 0.03701,
    "h": 156
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#2A4032
secondary
#715567
accent
#6A9FBD
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050806
muted
#7A7B7A

Preview Lab

Preview with #2A4032

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

Preview Lab → · Contrast checker → · Palette generator →

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