#1E8228#1E8228

#1E8228 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.155 H 144.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1E8228
RGBrgb(30, 130, 40)
HSLhsl(126, 63%, 31%)
HSVhsv(126, 77%, 51%)
CMYKcmyk(76.9%, 0%, 69.2%, 49%)
CIE-LABlab(47.49, -46.60, 39.29)
CIE-LCHlch(47.49, 60.95, 139.86°)
OKLaboklab(53.19% -0.126 0.0906)
OKLCHoklch(53.19% 0.155 144.3)
XYZxyz(8.9005, 16.3935, 4.7023)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E8228 #821E78
analogous
#46821E #1E8228 #1E825A
triadic
#1E8228 #281E82 #82281E
tetradic
#1E8228 #1E4682 #821E78 #825A1E
square
#1E8228 #1E4682 #821E78 #825A1E
split-complementary
#1E8228 #5A1E82 #821E46
monochromatic
#071F09 #135019 #1E8228 #29B437 #46D454

Accessibility & contrast

On white

4.91
#1E8228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1E8228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1E8228#FFFFFF#000000##FFFFFF
##1E82281.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1e8228;
/* rgb */ color: rgb(30, 130, 40);
/* oklch */ color: oklch(53.2% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba767',
    500: '#1e8228',
    950: '#000000',
  },
}
SCSS
$custom: #1e8228;
$custom-light: #6ba767;
$custom-dark: #000000;
JSON
{
  "hex": "#1e8228",
  "rgb": {
    "r": 30,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 126,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.1552,
    "h": 144.3
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#1E8228
secondary
#B547AA
accent
#42D5E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1E8228

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

Preview Lab → · Contrast checker → · Palette generator →

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