#2E7226#2E7226

#2E7226 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.130 H 141.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2E7226
RGBrgb(46, 114, 38)
HSLhsl(114, 50%, 30%)
HSVhsv(114, 67%, 45%)
CMYKcmyk(59.6%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.39, -37.29, 34.75)
CIE-LCHlch(42.39, 50.97, 137.02°)
OKLaboklab(49.09% -0.1018 0.0807)
OKLCHoklch(49.09% 0.13 141.6)
XYZxyz(7.4935, 12.7548, 3.9004)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7226 #6A2672
analogous
#547226 #2E7226 #267244
triadic
#2E7226 #262E72 #72262E
tetradic
#2E7226 #265472 #6A2672 #724426
square
#2E7226 #265472 #6A2672 #724426
split-complementary
#2E7226 #442672 #722654
monochromatic
#091708 #1B4417 #2E7226 #41A035 #5BC44E

Accessibility & contrast

On white

5.91
#2E7226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2E7226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7226
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7226#FFFFFF#000000##FFFFFF
##2E72261.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7226;
/* rgb */ color: rgb(46, 114, 38);
/* oklch */ color: oklch(49.1% 0.130 141.6);
Tailwind
colors: {
  custom: {
    50: '#6f9b64',
    500: '#2e7226',
    950: '#000000',
  },
}
SCSS
$custom: #2e7226;
$custom-light: #6f9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7226",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 113.684,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.12987,
    "h": 141.6
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#2E7226
secondary
#9C4FA5
accent
#4EDACB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2E7226

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

Preview Lab → · Contrast checker → · Palette generator →

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