#2E6945#2E6945

#2E6945 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.1% C 0.085 H 154.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2E6945
RGBrgb(46, 105, 69)
HSLhsl(143, 39%, 30%)
HSVhsv(143, 56%, 41%)
CMYKcmyk(56.2%, 0%, 34.3%, 58.8%)
CIE-LABlab(39.77, -28.32, 14.57)
CIE-LCHlch(39.77, 31.85, 152.78°)
OKLaboklab(47.09% -0.0771 0.0368)
OKLCHoklch(47.09% 0.085 154.5)
XYZxyz(7.2519, 11.1130, 7.3919)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6945 #692E52
analogous
#35692E #2E6945 #2E6963
triadic
#2E6945 #452E69 #69452E
tetradic
#2E6945 #2E3569 #692E52 #69632E
square
#2E6945 #2E3569 #692E52 #69632E
split-complementary
#2E6945 #632E69 #692E35
monochromatic
#09150E #1B3E29 #2E6945 #419461 #5AB77F

Accessibility & contrast

On white

6.52
#2E6945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E6945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6945
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6945#FFFFFF#000000##FFFFFF
##2E69451.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696143
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#1E6860
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6945;
/* rgb */ color: rgb(46, 105, 69);
/* oklch */ color: oklch(47.1% 0.085 154.5);
Tailwind
colors: {
  custom: {
    50: '#6c9479',
    500: '#2e6945',
    950: '#000000',
  },
}
SCSS
$custom: #2e6945;
$custom-light: #6c9479;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6945",
  "rgb": {
    "r": 46,
    "g": 105,
    "b": 69
  },
  "hsl": {
    "h": 143.39,
    "s": 39.073,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.08544,
    "h": 154.5
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#2E6945
secondary
#9B5881
accent
#59A1CF
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #2E6945

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

Preview Lab → · Contrast checker → · Palette generator →

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