#2A643B#2A643B

#2A643B is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.3% C 0.090 H 150.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2A643B
RGBrgb(42, 100, 59)
HSLhsl(138, 41%, 28%)
HSVhsv(138, 58%, 39%)
CMYKcmyk(58%, 0%, 41%, 60.8%)
CIE-LABlab(37.70, -29.11, 17.68)
CIE-LCHlch(37.70, 34.06, 148.72°)
OKLaboklab(45.29% -0.0789 0.0441)
OKLCHoklch(45.29% 0.09 150.8)
XYZxyz(6.3010, 9.9218, 5.7199)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A643B #642A53
analogous
#36642A #2A643B #2A6458
triadic
#2A643B #3B2A64 #643B2A
tetradic
#2A643B #2A3664 #642A53 #64582A
square
#2A643B #2A3664 #642A53 #64582A
split-complementary
#2A643B #582A64 #642A36
monochromatic
#09160D #183922 #2A643B #3C8F54 #52B66F

Accessibility & contrast

On white

7.04
#2A643B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A643B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A643B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A643B#FFFFFF#000000##FFFFFF
##2A643B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C38
Deuteranopia (green-blind)
#5C573E
Tritanopia (blue-blind)
#1C625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a643b;
/* rgb */ color: rgb(42, 100, 59);
/* oklch */ color: oklch(45.3% 0.090 150.8);
Tailwind
colors: {
  custom: {
    50: '#699171',
    500: '#2a643b',
    950: '#000000',
  },
}
SCSS
$custom: #2a643b;
$custom-light: #699171;
$custom-dark: #000000;
JSON
{
  "hex": "#2a643b",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 59
  },
  "hsl": {
    "h": 137.586,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.09039,
    "h": 150.8
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#2A643B
secondary
#965383
accent
#57ADD1
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070D07
muted
#7A7D7A

Preview Lab

Preview with #2A643B

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

Preview Lab → · Contrast checker → · Palette generator →

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