#1E7C2B#1E7C2B

#1E7C2B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1E7C2B
RGBrgb(30, 124, 43)
HSLhsl(128, 61%, 30%)
HSVhsv(128, 76%, 49%)
CMYKcmyk(75.8%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.45, -44.12, 35.67)
CIE-LCHlch(45.45, 56.74, 141.04°)
OKLaboklab(51.51% -0.1191 0.0833)
OKLCHoklch(51.51% 0.145 145)
XYZxyz(8.1786, 14.8648, 4.7232)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C2B #7C1E6F
analogous
#407C1E #1E7C2B #1E7C5A
triadic
#1E7C2B #2B1E7C #7C2B1E
tetradic
#1E7C2B #1E407C #7C1E6F #7C5A1E
square
#1E7C2B #1E407C #7C1E6F #7C5A1E
split-complementary
#1E7C2B #5A1E7C #7C1E40
monochromatic
#061909 #124B1A #1E7C2B #2AAD3C #43D157

Accessibility & contrast

On white

5.29
#1E7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1E7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7C2B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7C2B#FFFFFF#000000##FFFFFF
##1E7C2B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#736932
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7c2b;
/* rgb */ color: rgb(30, 124, 43);
/* oklch */ color: oklch(51.5% 0.145 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa368',
    500: '#1e7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c2b;
$custom-light: #6aa368;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c2b",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 128.298,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.14538,
    "h": 145
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#1E7C2B
secondary
#AF46A1
accent
#44CEE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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