#2E731F#2E731F

#2E731F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.137 H 140.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2E731F
RGBrgb(46, 115, 31)
HSLhsl(109, 58%, 29%)
HSVhsv(109, 73%, 45%)
CMYKcmyk(60%, 0%, 73%, 54.9%)
CIE-LABlab(42.67, -38.40, 38.19)
CIE-LCHlch(42.67, 54.16, 135.16°)
OKLaboklab(49.31% -0.1052 0.0871)
OKLCHoklch(49.31% 0.137 140.4)
XYZxyz(7.5044, 12.9406, 3.3984)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E731F #641F73
analogous
#58731F #2E731F #1F733A
triadic
#2E731F #1F2E73 #731F2E
tetradic
#2E731F #1F5873 #641F73 #733A1F
square
#2E731F #1F5873 #641F73 #733A1F
split-complementary
#2E731F #3A1F73 #731F58
monochromatic
#0A1806 #1B4312 #2E731F #41A32C #5ACC41

Accessibility & contrast

On white

5.85
#2E731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2E731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E731F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E731F#FFFFFF#000000##FFFFFF
##2E731F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#256F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e731f;
/* rgb */ color: rgb(46, 115, 31);
/* oklch */ color: oklch(49.3% 0.137 140.4);
Tailwind
colors: {
  custom: {
    50: '#6f9c60',
    500: '#2e731f',
    950: '#000000',
  },
}
SCSS
$custom: #2e731f;
$custom-light: #6f9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e731f",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 109.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.13657,
    "h": 140.4
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#2E731F
secondary
#9647A7
accent
#47E1C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E731F

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

Preview Lab → · Contrast checker → · Palette generator →

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