#1E7F22#1E7F22

#1E7F22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.156 H 143.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1E7F22
RGBrgb(30, 127, 34)
HSLhsl(122, 62%, 31%)
HSVhsv(122, 76%, 50%)
CMYKcmyk(76.4%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.40, -46.15, 40.70)
CIE-LCHlch(46.40, 61.53, 138.60°)
OKLaboklab(52.28% -0.1251 0.0928)
OKLCHoklch(52.28% 0.156 143.4)
XYZxyz(8.4130, 15.5693, 4.0749)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F22 #7F1E7B
analogous
#4A7F1E #1E7F22 #1E7F52
triadic
#1E7F22 #221E7F #7F221E
tetradic
#1E7F22 #1E4A7F #7F1E7B #7F521E
square
#1E7F22 #1E4A7F #7F1E7B #7F521E
split-complementary
#1E7F22 #521E7F #7F1E4A
monochromatic
#071C07 #124D15 #1E7F22 #2AB12F #44D34A

Accessibility & contrast

On white

5.10
#1E7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1E7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F22#FFFFFF#000000##FFFFFF
##1E7F221.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f22;
/* rgb */ color: rgb(30, 127, 34);
/* oklch */ color: oklch(52.3% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba563',
    500: '#1e7f22',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f22;
$custom-light: #6ba563;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f22",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 122.474,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.15577,
    "h": 143.4
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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