#2E731A#2E731A

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

Color values

HEX#2E731A
RGBrgb(46, 115, 26)
HSLhsl(107, 63%, 28%)
HSVhsv(107, 77%, 45%)
CMYKcmyk(60%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.64, -38.82, 40.17)
CIE-LCHlch(42.64, 55.87, 134.02°)
OKLaboklab(49.26% -0.1067 0.0905)
OKLCHoklch(49.26% 0.14 139.7)
XYZxyz(7.4436, 12.9162, 3.0779)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E731A #5F1A73
analogous
#5A731A #2E731A #1A7332
triadic
#2E731A #1A2E73 #731A2E
tetradic
#2E731A #1A5A73 #5F1A73 #73321A
square
#2E731A #1A5A73 #5F1A73 #73321A
split-complementary
#2E731A #321A73 #731A5A
monochromatic
#0A1906 #1A410F #2E731A #42A525 #59D236

Accessibility & contrast

On white

5.86
#2E731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E731A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E731A#FFFFFF#000000##FFFFFF
##2E731A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e731a;
/* rgb */ color: rgb(46, 115, 26);
/* oklch */ color: oklch(49.3% 0.140 139.7);
Tailwind
colors: {
  custom: {
    50: '#709c5d',
    500: '#2e731a',
    950: '#000000',
  },
}
SCSS
$custom: #2e731a;
$custom-light: #709c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e731a",
  "rgb": {
    "r": 46,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 106.517,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.13988,
    "h": 139.7
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#2E731A
secondary
#9141A8
accent
#42E6C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E731A

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

Preview Lab → · Contrast checker → · Palette generator →

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