#1E7A2A#1E7A2A

#1E7A2A is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.144 H 144.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1E7A2A
RGBrgb(30, 122, 42)
HSLhsl(128, 61%, 30%)
HSVhsv(128, 75%, 48%)
CMYKcmyk(75.4%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.75, -43.52, 35.36)
CIE-LCHlch(44.75, 56.07, 140.91°)
OKLaboklab(50.93% -0.1176 0.0825)
OKLCHoklch(50.93% 0.144 144.9)
XYZxyz(7.9123, 14.3614, 4.5451)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A2A #7A1E6E
analogous
#407A1E #1E7A2A #1E7A58
triadic
#1E7A2A #2A1E7A #7A2A1E
tetradic
#1E7A2A #1E407A #7A1E6E #7A581E
square
#1E7A2A #1E407A #7A1E6E #7A581E
split-complementary
#1E7A2A #581E7A #7A1E40
monochromatic
#061908 #124919 #1E7A2A #2AAB3B #42D055

Accessibility & contrast

On white

5.42
#1E7A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1E7A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A2A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A2A#FFFFFF#000000##FFFFFF
##1E7A2A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7a2a;
/* rgb */ color: rgb(30, 122, 42);
/* oklch */ color: oklch(50.9% 0.144 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a167',
    500: '#1e7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a2a;
$custom-light: #69a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a2a",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 127.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.14363,
    "h": 144.9
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#1E7A2A
secondary
#AE46A0
accent
#44CFE4
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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