#2E7922#2E7922

#2E7922 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.142 H 141.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2E7922
RGBrgb(46, 121, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 72%, 47%)
CMYKcmyk(62%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.76, -40.49, 39.10)
CIE-LCHlch(44.76, 56.29, 136.00°)
OKLaboklab(51.04% -0.1107 0.0894)
OKLCHoklch(51.04% 0.142 141.1)
XYZxyz(8.2524, 14.3703, 3.8519)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7922 #6D2279
analogous
#597922 #2E7922 #227941
triadic
#2E7922 #222E79 #79222E
tetradic
#2E7922 #225979 #6D2279 #794122
square
#2E7922 #225979 #6D2279 #794122
split-complementary
#2E7922 #412279 #792259
monochromatic
#0A1907 #1C4915 #2E7922 #40A92F #5BCC49

Accessibility & contrast

On white

5.42
#2E7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2E7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7922
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7922#FFFFFF#000000##FFFFFF
##2E79221.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#237568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7922;
/* rgb */ color: rgb(46, 121, 34);
/* oklch */ color: oklch(51.0% 0.142 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2e7922',
    950: '#000000',
  },
}
SCSS
$custom: #2e7922;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7922",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 111.724,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.14226,
    "h": 141.1
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#2E7922
secondary
#9F4BAC
accent
#48DFCB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2E7922

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

Preview Lab → · Contrast checker → · Palette generator →

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