#1E7A22#1E7A22

#1E7A22 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.150 H 143.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1E7A22
RGBrgb(30, 122, 34)
HSLhsl(123, 61%, 30%)
HSVhsv(123, 75%, 48%)
CMYKcmyk(75.4%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.67, -44.40, 38.88)
CIE-LCHlch(44.67, 59.02, 138.79°)
OKLaboklab(50.84% -0.1203 0.089)
OKLCHoklch(50.84% 0.15 143.5)
XYZxyz(7.7832, 14.3097, 3.8649)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A22 #7A1E76
analogous
#487A1E #1E7A22 #1E7A50
triadic
#1E7A22 #221E7A #7A221E
tetradic
#1E7A22 #1E487A #7A1E76 #7A501E
square
#1E7A22 #1E487A #7A1E76 #7A501E
split-complementary
#1E7A22 #501E7A #7A1E48
monochromatic
#061907 #124914 #1E7A22 #2AAB30 #42D048

Accessibility & contrast

On white

5.44
#1E7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1E7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A22
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A22#FFFFFF#000000##FFFFFF
##1E7A221.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7a22;
/* rgb */ color: rgb(30, 122, 34);
/* oklch */ color: oklch(50.8% 0.150 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa162',
    500: '#1e7a22',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a22;
$custom-light: #6aa162;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a22",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 122.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50843,
    "c": 0.14968,
    "h": 143.5
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#1E7A22
secondary
#AE46A9
accent
#44DDE4
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1E7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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