#2E9227#2E9227

#2E9227 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.170 H 142.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2E9227
RGBrgb(46, 146, 39)
HSLhsl(116, 58%, 36%)
HSVhsv(116, 73%, 57%)
CMYKcmyk(68.5%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.26, -49.30, 45.90)
CIE-LCHlch(53.26, 67.36, 137.05°)
OKLaboklab(58.08% -0.1342 0.1043)
OKLCHoklch(58.08% 0.17 142.2)
XYZxyz(11.7711, 21.2839, 5.4069)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9227 #8B2792
analogous
#649227 #2E9227 #279256
triadic
#2E9227 #272E92 #92272E
tetradic
#2E9227 #276492 #8B2792 #925627
square
#2E9227 #276492 #8B2792 #925627
split-complementary
#2E9227 #562792 #922764
monochromatic
#10310D #1F621A #2E9227 #3DC234 #67D45F

Accessibility & contrast

On white

3.99
#2E9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2E9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9227
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9227#FFFFFF#000000##000000
##2E92271.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#178D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e9227;
/* rgb */ color: rgb(46, 146, 39);
/* oklch */ color: oklch(58.1% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b368',
    500: '#2e9227',
    950: '#000000',
  },
}
SCSS
$custom: #2e9227;
$custom-light: #75b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9227",
  "rgb": {
    "r": 46,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 116.075,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.16998,
    "h": 142.2
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#2E9227
secondary
#B35BBA
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E9227

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

Preview Lab → · Contrast checker → · Palette generator →

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