#2E9228#2E9228

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

Color values

HEX#2E9228
RGBrgb(46, 146, 40)
HSLhsl(117, 57%, 36%)
HSVhsv(117, 73%, 57%)
CMYKcmyk(68.5%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.27, -49.21, 45.51)
CIE-LCHlch(53.27, 67.03, 137.24°)
OKLaboklab(58.09% -0.134 0.1036)
OKLCHoklch(58.09% 0.169 142.3)
XYZxyz(11.7879, 21.2906, 5.4953)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9228 #8C2892
analogous
#639228 #2E9228 #289257
triadic
#2E9228 #282E92 #92282E
tetradic
#2E9228 #286392 #8C2892 #925728
square
#2E9228 #286392 #8C2892 #925728
split-complementary
#2E9228 #572892 #922863
monochromatic
#10320E #1F621B #2E9228 #3DC235 #67D461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E9228#FFFFFF#000000##000000
##2E92281.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)
#958417
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#178E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e9228;
/* rgb */ color: rgb(46, 146, 40);
/* oklch */ color: oklch(58.1% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b368',
    500: '#2e9228',
    950: '#000000',
  },
}
SCSS
$custom: #2e9228;
$custom-light: #75b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9228",
  "rgb": {
    "r": 46,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 116.604,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.16933,
    "h": 142.3
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#2E9228
secondary
#B45DB9
accent
#48E0D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E9228

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

Preview Lab → · Contrast checker → · Palette generator →

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