#1E7B2A#1E7B2A

#1E7B2A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.145 H 144.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1E7B2A
RGBrgb(30, 123, 42)
HSLhsl(128, 61%, 30%)
HSVhsv(128, 76%, 48%)
CMYKcmyk(75.6%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.09, -43.88, 35.75)
CIE-LCHlch(45.09, 56.60, 140.83°)
OKLaboklab(51.21% -0.1185 0.0833)
OKLCHoklch(51.21% 0.145 144.9)
XYZxyz(8.0358, 14.6082, 4.5862)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B2A #7B1E6F
analogous
#407B1E #1E7B2A #1E7B59
triadic
#1E7B2A #2A1E7B #7B2A1E
tetradic
#1E7B2A #1E407B #7B1E6F #7B591E
square
#1E7B2A #1E407B #7B1E6F #7B591E
split-complementary
#1E7B2A #591E7B #7B1E40
monochromatic
#061908 #124A19 #1E7B2A #2AAC3B #42D155

Accessibility & contrast

On white

5.35
#1E7B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1E7B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B2A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B2A#FFFFFF#000000##FFFFFF
##1E7B2A1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1e7b2a;
/* rgb */ color: rgb(30, 123, 42);
/* oklch */ color: oklch(51.2% 0.145 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa267',
    500: '#1e7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b2a;
$custom-light: #6aa267;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b2a",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 127.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.1449,
    "h": 144.9
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#1E7B2A
secondary
#AE46A1
accent
#44CFE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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