#2E8228#2E8228

#2E8228 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.149 H 142.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E8228
RGBrgb(46, 130, 40)
HSLhsl(116, 53%, 33%)
HSVhsv(116, 69%, 51%)
CMYKcmyk(64.6%, 0%, 69.2%, 49%)
CIE-LABlab(47.88, -43.36, 39.83)
CIE-LCHlch(47.88, 58.88, 137.43°)
OKLaboklab(53.63% -0.1181 0.0917)
OKLCHoklch(53.63% 0.15 142.2)
XYZxyz(9.4918, 16.6984, 4.7300)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8228 #7C2882
analogous
#5B8228 #2E8228 #28824F
triadic
#2E8228 #282E82 #82282E
tetradic
#2E8228 #285B82 #7C2882 #824F28
square
#2E8228 #285B82 #7C2882 #824F28
split-complementary
#2E8228 #4F2882 #82285B
monochromatic
#0D240B #1D531A #2E8228 #3FB136 #60CC59

Accessibility & contrast

On white

4.84
#2E8228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2E8228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8228
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8228#FFFFFF#000000##FFFFFF
##2E82281.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#1F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e8228;
/* rgb */ color: rgb(46, 130, 40);
/* oklch */ color: oklch(53.6% 0.149 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a767',
    500: '#2e8228',
    950: '#000000',
  },
}
SCSS
$custom: #2e8228;
$custom-light: #72a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8228",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 116,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.1495,
    "h": 142.2
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#2E8228
secondary
#AB55B1
accent
#4BDCD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8228

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

Preview Lab → · Contrast checker → · Palette generator →

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