#2A4834#2A4834

#2A4834 is a dark, muted green. Relative luminance 0.054; OKLCH L 37.2% C 0.050 H 154.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4834
RGBrgb(42, 72, 52)
HSLhsl(140, 26%, 22%)
HSVhsv(140, 42%, 28%)
CMYKcmyk(41.7%, 0%, 27.8%, 71.8%)
CIE-LABlab(27.78, -16.36, 8.55)
CIE-LCHlch(27.78, 18.46, 152.41°)
OKLaboklab(37.16% -0.0449 0.0218)
OKLCHoklch(37.16% 0.05 154.1)
XYZxyz(3.8918, 5.3747, 4.0805)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4834 #482A3E
analogous
#2F482A #2A4834 #2A4843
triadic
#2A4834 #342A48 #48342A
tetradic
#2A4834 #2A2F48 #482A3E #48432A
square
#2A4834 #2A2F48 #482A3E #48432A
split-complementary
#2A4834 #432A48 #482A2F
monochromatic
#0B130E #132118 #2A4834 #416F50 #57956C

Accessibility & contrast

On white

10.12
#2A4834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A4834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4834
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4834#FFFFFF#000000##FFFFFF
##2A48341.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484433
Deuteranopia (green-blind)
#434035
Tritanopia (blue-blind)
#244743
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4834;
/* rgb */ color: rgb(42, 72, 52);
/* oklch */ color: oklch(37.2% 0.050 154.1);
Tailwind
colors: {
  custom: {
    50: '#657b6b',
    500: '#2a4834',
    950: '#000000',
  },
}
SCSS
$custom: #2a4834;
$custom-light: #657b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4834",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 52
  },
  "hsl": {
    "h": 140,
    "s": 26.316,
    "l": 22.353
  },
  "oklch": {
    "l": 0.37158,
    "c": 0.04996,
    "h": 154.1
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#2A4834
secondary
#7A546D
accent
#65A3C3
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050906
muted
#7A7B7A

Preview Lab

Preview with #2A4834

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

Preview Lab → · Contrast checker → · Palette generator →

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