#2A642D#2A642D

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

Color values

HEX#2A642D
RGBrgb(42, 100, 45)
HSLhsl(123, 41%, 28%)
HSVhsv(123, 58%, 39%)
CMYKcmyk(58%, 0%, 55%, 60.8%)
CIE-LABlab(37.47, -31.56, 25.39)
CIE-LCHlch(37.47, 40.51, 141.18°)
OKLaboklab(45.03% -0.0857 0.0611)
OKLCHoklch(45.03% 0.105 144.5)
XYZxyz(5.9853, 9.7955, 4.0574)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A642D #642A61
analogous
#44642A #2A642D #2A644A
triadic
#2A642D #2D2A64 #642D2A
tetradic
#2A642D #2A4464 #642A61 #644A2A
square
#2A642D #2A4464 #642A61 #644A2A
split-complementary
#2A642D #4A2A64 #642A44
monochromatic
#09160A #18391A #2A642D #3C8F40 #52B657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A642D#FFFFFF#000000##FFFFFF
##2A642D1.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)
#665B28
Deuteranopia (green-blind)
#5E5631
Tritanopia (blue-blind)
#206157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a642d;
/* rgb */ color: rgb(42, 100, 45);
/* oklch */ color: oklch(45.0% 0.105 144.5);
Tailwind
colors: {
  custom: {
    50: '#699167',
    500: '#2a642d',
    950: '#000000',
  },
}
SCSS
$custom: #2a642d;
$custom-light: #699167;
$custom-dark: #000000;
JSON
{
  "hex": "#2a642d",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 45
  },
  "hsl": {
    "h": 123.103,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.10521,
    "h": 144.5
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#2A642D
secondary
#965393
accent
#57CAD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A

Preview Lab

Preview with #2A642D

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

Preview Lab → · Contrast checker → · Palette generator →

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