#2A6345#2A6345

#2A6345 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.078 H 158.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2A6345
RGBrgb(42, 99, 69)
HSLhsl(148, 40%, 28%)
HSVhsv(148, 58%, 39%)
CMYKcmyk(57.6%, 0%, 30.3%, 61.2%)
CIE-LABlab(37.56, -26.51, 11.52)
CIE-LCHlch(37.56, 28.90, 156.51°)
OKLaboklab(45.25% -0.0725 0.0293)
OKLCHoklch(45.25% 0.078 158)
XYZxyz(6.4903, 9.8450, 7.1873)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6345 #632A48
analogous
#2B632A #2A6345 #2A6362
triadic
#2A6345 #452A63 #63452A
tetradic
#2A6345 #2A2B63 #632A48 #63622A
square
#2A6345 #2A2B63 #632A48 #63622A
split-complementary
#2A6345 #622A63 #632A2B
monochromatic
#09150F #183827 #2A6345 #3C8E63 #52B681

Accessibility & contrast

On white

7.07
#2A6345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A6345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6345
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6345#FFFFFF#000000##FFFFFF
##2A63451.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C43
Deuteranopia (green-blind)
#5A5647
Tritanopia (blue-blind)
#18625B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6345;
/* rgb */ color: rgb(42, 99, 69);
/* oklch */ color: oklch(45.2% 0.078 158.0);
Tailwind
colors: {
  custom: {
    50: '#699078',
    500: '#2a6345',
    950: '#000000',
  },
}
SCSS
$custom: #2a6345;
$custom-light: #699078;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6345",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 69
  },
  "hsl": {
    "h": 148.421,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.07823,
    "h": 158
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#2A6345
secondary
#955376
accent
#5897D0
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C09
muted
#7A7D7B

Preview Lab

Preview with #2A6345

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

Preview Lab → · Contrast checker → · Palette generator →

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