#2E7328#2E7328

#2E7328 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.130 H 142.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2E7328
RGBrgb(46, 115, 40)
HSLhsl(115, 48%, 30%)
HSVhsv(115, 65%, 45%)
CMYKcmyk(60%, 0%, 65.2%, 54.9%)
CIE-LABlab(42.76, -37.47, 34.20)
CIE-LCHlch(42.76, 50.73, 137.61°)
OKLaboklab(49.4% -0.1021 0.0797)
OKLCHoklch(49.4% 0.13 142)
XYZxyz(7.6401, 12.9948, 4.1127)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7328 #6D2873
analogous
#537328 #2E7328 #287347
triadic
#2E7328 #282E73 #73282E
tetradic
#2E7328 #285373 #6D2873 #734728
square
#2E7328 #285373 #6D2873 #734728
split-complementary
#2E7328 #472873 #732853
monochromatic
#0A1808 #1C4618 #2E7328 #40A038 #5BC352

Accessibility & contrast

On white

5.83
#2E7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2E7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7328
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7328#FFFFFF#000000##FFFFFF
##2E73281.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6D632E
Tritanopia (blue-blind)
#247063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e7328;
/* rgb */ color: rgb(46, 115, 40);
/* oklch */ color: oklch(49.4% 0.130 142.0);
Tailwind
colors: {
  custom: {
    50: '#6f9c65',
    500: '#2e7328',
    950: '#000000',
  },
}
SCSS
$custom: #2e7328;
$custom-light: #6f9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7328",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 115.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.494,
    "c": 0.12958,
    "h": 142
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#2E7328
secondary
#9F52A5
accent
#50D8CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7328

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

Preview Lab → · Contrast checker → · Palette generator →

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