#2A642C#2A642C

#2A642C is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.106 H 144.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2A642C
RGBrgb(42, 100, 44)
HSLhsl(122, 41%, 28%)
HSVhsv(122, 58%, 39%)
CMYKcmyk(58%, 0%, 56%, 60.8%)
CIE-LABlab(37.46, -31.71, 25.92)
CIE-LCHlch(37.46, 40.96, 140.74°)
OKLaboklab(45.01% -0.0861 0.0622)
OKLCHoklch(45.01% 0.106 144.2)
XYZxyz(5.9663, 9.7879, 3.9572)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A642C #642A62
analogous
#45642A #2A642C #2A6449
triadic
#2A642C #2C2A64 #642C2A
tetradic
#2A642C #2A4564 #642A62 #64492A
square
#2A642C #2A4564 #642A62 #64492A
split-complementary
#2A642C #492A64 #642A45
monochromatic
#091609 #183919 #2A642C #3C8F3F #52B656

Accessibility & contrast

On white

7.10
#2A642C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A642C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A642C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A642C#FFFFFF#000000##FFFFFF
##2A642C1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B27
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#206157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a642c;
/* rgb */ color: rgb(42, 100, 44);
/* oklch */ color: oklch(45.0% 0.106 144.2);
Tailwind
colors: {
  custom: {
    50: '#6a9166',
    500: '#2a642c',
    950: '#000000',
  },
}
SCSS
$custom: #2a642c;
$custom-light: #6a9166;
$custom-dark: #000000;
JSON
{
  "hex": "#2a642c",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 44
  },
  "hsl": {
    "h": 122.069,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.10622,
    "h": 144.2
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#2A642C
secondary
#965394
accent
#57CCD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A

Preview Lab

Preview with #2A642C

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

Preview Lab → · Contrast checker → · Palette generator →

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