#2E7231#2E7231

#2E7231 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.120 H 144.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2E7231
RGBrgb(46, 114, 49)
HSLhsl(123, 43%, 31%)
HSVhsv(123, 60%, 45%)
CMYKcmyk(59.6%, 0%, 57%, 55.3%)
CIE-LABlab(42.52, -35.89, 29.38)
CIE-LCHlch(42.52, 46.38, 140.70°)
OKLaboklab(49.24% -0.0974 0.0702)
OKLCHoklch(49.24% 0.12 144.2)
XYZxyz(7.6980, 12.8365, 4.9772)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7231 #722E6F
analogous
#4D722E #2E7231 #2E7253
triadic
#2E7231 #312E72 #72312E
tetradic
#2E7231 #2E4D72 #722E6F #72532E
square
#2E7231 #2E4D72 #722E6F #72532E
split-complementary
#2E7231 #532E72 #722E4D
monochromatic
#0B1B0C #1C461E #2E7231 #409E44 #5DBE61

Accessibility & contrast

On white

5.89
#2E7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2E7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7231
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7231#FFFFFF#000000##FFFFFF
##2E72311.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#226F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7231;
/* rgb */ color: rgb(46, 114, 49);
/* oklch */ color: oklch(49.2% 0.120 144.2);
Tailwind
colors: {
  custom: {
    50: '#6e9b6b',
    500: '#2e7231',
    950: '#000000',
  },
}
SCSS
$custom: #2e7231;
$custom-light: #6e9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7231",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 122.647,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.12004,
    "h": 144.2
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#2E7231
secondary
#A358A0
accent
#56CDD2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2E7231

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

Preview Lab → · Contrast checker → · Palette generator →

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