#1E7E22#1E7E22

#1E7E22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.155 H 143.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1E7E22
RGBrgb(30, 126, 34)
HSLhsl(123, 62%, 31%)
HSVhsv(123, 76%, 49%)
CMYKcmyk(76.2%, 0%, 73%, 50.6%)
CIE-LABlab(46.06, -45.81, 40.34)
CIE-LCHlch(46.06, 61.03, 138.63°)
OKLaboklab(51.99% -0.1241 0.0921)
OKLCHoklch(51.99% 0.155 143.4)
XYZxyz(8.2845, 15.3123, 4.0320)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E22 #7E1E7A
analogous
#4A7E1E #1E7E22 #1E7E52
triadic
#1E7E22 #221E7E #7E221E
tetradic
#1E7E22 #1E4A7E #7E1E7A #7E521E
square
#1E7E22 #1E4A7E #7E1E7A #7E521E
split-complementary
#1E7E22 #521E7E #7E1E4A
monochromatic
#061B07 #124D15 #1E7E22 #2AAF2F #44D24A

Accessibility & contrast

On white

5.17
#1E7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1E7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E22#FFFFFF#000000##FFFFFF
##1E7E221.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7e22;
/* rgb */ color: rgb(30, 126, 34);
/* oklch */ color: oklch(52.0% 0.155 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba463',
    500: '#1e7e22',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e22;
$custom-light: #6ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e22",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 122.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.15456,
    "h": 143.4
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#1E7E22
secondary
#B147AD
accent
#43DEE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1E7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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