#2E7222#2E7222

#2E7222 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.133 H 140.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2E7222
RGBrgb(46, 114, 34)
HSLhsl(111, 54%, 29%)
HSVhsv(111, 70%, 45%)
CMYKcmyk(59.6%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.35, -37.71, 36.55)
CIE-LCHlch(42.35, 52.52, 135.90°)
OKLaboklab(49.05% -0.1032 0.084)
OKLCHoklch(49.05% 0.133 140.8)
XYZxyz(7.4324, 12.7303, 3.5786)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7222 #662272
analogous
#567222 #2E7222 #22723E
triadic
#2E7222 #222E72 #72222E
tetradic
#2E7222 #225672 #662272 #723E22
square
#2E7222 #225672 #662272 #723E22
split-complementary
#2E7222 #3E2272 #722256
monochromatic
#0A1807 #1B4314 #2E7222 #41A130 #5AC846

Accessibility & contrast

On white

5.92
#2E7222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7222
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7222#FFFFFF#000000##FFFFFF
##2E72221.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6C6229
Tritanopia (blue-blind)
#256E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7222;
/* rgb */ color: rgb(46, 114, 34);
/* oklch */ color: oklch(49.1% 0.133 140.8);
Tailwind
colors: {
  custom: {
    50: '#6f9b61',
    500: '#2e7222',
    950: '#000000',
  },
}
SCSS
$custom: #2e7222;
$custom-light: #6f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7222",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 111,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.13304,
    "h": 140.8
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#2E7222
secondary
#984BA5
accent
#4ADDC7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7222

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

Preview Lab → · Contrast checker → · Palette generator →

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