#1E7D22#1E7D22

#1E7D22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.153 H 143.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1E7D22
RGBrgb(30, 125, 34)
HSLhsl(123, 61%, 30%)
HSVhsv(123, 76%, 49%)
CMYKcmyk(76%, 0%, 72.8%, 51%)
CIE-LABlab(45.71, -45.46, 39.97)
CIE-LCHlch(45.71, 60.53, 138.67°)
OKLaboklab(51.71% -0.1232 0.0913)
OKLCHoklch(51.71% 0.153 143.5)
XYZxyz(8.1573, 15.0578, 3.9896)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D22 #7D1E79
analogous
#4A7D1E #1E7D22 #1E7D51
triadic
#1E7D22 #221E7D #7D221E
tetradic
#1E7D22 #1E4A7D #7D1E79 #7D511E
square
#1E7D22 #1E4A7D #7D1E79 #7D511E
split-complementary
#1E7D22 #511E7D #7D1E4A
monochromatic
#061A07 #124C15 #1E7D22 #2AAE2F #43D249

Accessibility & contrast

On white

5.23
#1E7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1E7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D22#FFFFFF#000000##FFFFFF
##1E7D221.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d22;
/* rgb */ color: rgb(30, 125, 34);
/* oklch */ color: oklch(51.7% 0.153 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba463',
    500: '#1e7d22',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d22;
$custom-light: #6ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d22",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 122.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.15335,
    "h": 143.5
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#1E7D22
secondary
#B046AC
accent
#43DEE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1E7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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