#1E7221#1E7221

#1E7221 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.140 H 143.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1E7221
RGBrgb(30, 114, 33)
HSLhsl(122, 58%, 28%)
HSVhsv(122, 74%, 45%)
CMYKcmyk(73.7%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.88, -41.62, 36.34)
CIE-LCHlch(41.88, 55.25, 138.88°)
OKLaboklab(48.52% -0.1128 0.0836)
OKLCHoklch(48.52% 0.14 143.5)
XYZxyz(6.8268, 12.4197, 3.4760)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7221 #721E6F
analogous
#45721E #1E7221 #1E724B
triadic
#1E7221 #211E72 #72211E
tetradic
#1E7221 #1E4572 #721E6F #724B1E
square
#1E7221 #1E4572 #721E6F #724B1E
split-complementary
#1E7221 #4B1E72 #721E45
monochromatic
#061807 #114213 #1E7221 #2BA22F #3ECC43

Accessibility & contrast

On white

6.03
#1E7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#1E7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7221
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7221#FFFFFF#000000##FFFFFF
##1E72211.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6B6029
Tritanopia (blue-blind)
#026F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7221;
/* rgb */ color: rgb(30, 114, 33);
/* oklch */ color: oklch(48.5% 0.140 143.5);
Tailwind
colors: {
  custom: {
    50: '#689b61',
    500: '#1e7221',
    950: '#000000',
  },
}
SCSS
$custom: #1e7221;
$custom-light: #689b61;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7221",
  "rgb": {
    "r": 30,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 122.143,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.14041,
    "h": 143.5
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#1E7221
secondary
#A646A3
accent
#46DCE2
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1E7221

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

Preview Lab → · Contrast checker → · Palette generator →

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