#2E8C22#2E8C22

#2E8C22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.166 H 141.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2E8C22
RGBrgb(46, 140, 34)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 55%)
CMYKcmyk(67.1%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.21, -47.58, 45.73)
CIE-LCHlch(51.21, 65.99, 136.14°)
OKLaboklab(56.37% -0.1298 0.1032)
OKLCHoklch(56.37% 0.166 141.5)
XYZxyz(10.7930, 19.4514, 4.6988)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8C22 #80228C
analogous
#638C22 #2E8C22 #228C4B
triadic
#2E8C22 #222E8C #8C222E
tetradic
#2E8C22 #22638C #80228C #8C4B22
square
#2E8C22 #22638C #80228C #8C4B22
split-complementary
#2E8C22 #4B228C #8C2263
monochromatic
#0E2A0A #1E5B16 #2E8C22 #3EBD2E #62D553

Accessibility & contrast

On white

4.29
#2E8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2E8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8C22
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8C22#FFFFFF#000000##000000
##2E8C221.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#1C8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e8c22;
/* rgb */ color: rgb(46, 140, 34);
/* oklch */ color: oklch(56.4% 0.166 141.5);
Tailwind
colors: {
  custom: {
    50: '#74af65',
    500: '#2e8c22',
    950: '#000000',
  },
}
SCSS
$custom: #2e8c22;
$custom-light: #74af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8c22",
  "rgb": {
    "r": 46,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 113.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.16588,
    "h": 141.5
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#2E8C22
secondary
#AD51B9
accent
#44E4D2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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