#2A4228#2A4228

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

Color values

HEX#2A4228
RGBrgb(42, 66, 40)
HSLhsl(115, 25%, 21%)
HSVhsv(115, 39%, 26%)
CMYKcmyk(36.4%, 0%, 39.4%, 74.1%)
CIE-LABlab(25.39, -15.51, 12.96)
CIE-LCHlch(25.39, 20.21, 140.12°)
OKLaboklab(35.14% -0.0423 0.0324)
OKLCHoklch(35.14% 0.053 142.6)
XYZxyz(3.2859, 4.5417, 2.7106)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4228 #402842
analogous
#374228 #2A4228 #284233
triadic
#2A4228 #282A42 #42282A
tetradic
#2A4228 #283742 #402842 #423328
square
#2A4228 #283742 #402842 #423328
split-complementary
#2A4228 #332842 #422837
monochromatic
#0C130C #121C11 #2A4228 #42683F #5A8E56

Accessibility & contrast

On white

11.00
#2A4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4228
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4228#FFFFFF#000000##FFFFFF
##2A42281.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4228;
/* rgb */ color: rgb(42, 66, 40);
/* oklch */ color: oklch(35.1% 0.053 142.6);
Tailwind
colors: {
  custom: {
    50: '#647662',
    500: '#2a4228',
    950: '#000000',
  },
}
SCSS
$custom: #2a4228;
$custom-light: #647662;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4228",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 115.385,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.05326,
    "h": 142.6
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#2A4228
secondary
#715274
accent
#67C1BA
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#050805
muted
#7A7B79

Preview Lab

Preview with #2A4228

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

Preview Lab → · Contrast checker → · Palette generator →

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