#2A4234#2A4234

#2A4234 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.5% C 0.039 H 158.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2A4234
RGBrgb(42, 66, 52)
HSLhsl(145, 22%, 21%)
HSVhsv(145, 36%, 26%)
CMYKcmyk(36.4%, 0%, 21.2%, 74.1%)
CIE-LABlab(25.67, -12.92, 5.60)
CIE-LCHlch(25.67, 14.08, 156.56°)
OKLaboklab(35.46% -0.0359 0.0144)
OKLCHoklch(35.46% 0.039 158.1)
XYZxyz(3.5227, 4.6364, 3.9575)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4234 #422A38
analogous
#2C422A #2A4234 #2A4240
triadic
#2A4234 #342A42 #42342A
tetradic
#2A4234 #2A2C42 #422A38 #42402A
square
#2A4234 #2A2C42 #422A38 #42402A
split-complementary
#2A4234 #402A42 #422A2C
monochromatic
#0C130F #121D17 #2A4234 #426751 #5A8D6F

Accessibility & contrast

On white

10.90
#2A4234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A4234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4234
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4234#FFFFFF#000000##FFFFFF
##2A42341.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E33
Deuteranopia (green-blind)
#3E3C35
Tritanopia (blue-blind)
#25423E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a4234;
/* rgb */ color: rgb(42, 66, 52);
/* oklch */ color: oklch(35.5% 0.039 158.1);
Tailwind
colors: {
  custom: {
    50: '#64766b',
    500: '#2a4234',
    950: '#000000',
  },
}
SCSS
$custom: #2a4234;
$custom-light: #64766b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4234",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 52
  },
  "hsl": {
    "h": 145,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.03865,
    "h": 158.1
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#2A4234
secondary
#735466
accent
#699BBF
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050806
muted
#7A7B7A

Preview Lab

Preview with #2A4234

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

Preview Lab → · Contrast checker → · Palette generator →

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