#1E7A1F#1E7A1F

#1E7A1F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.152 H 143.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1E7A1F
RGBrgb(30, 122, 31)
HSLhsl(121, 61%, 30%)
HSVhsv(121, 75%, 48%)
CMYKcmyk(75.4%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.65, -44.68, 40.10)
CIE-LCHlch(44.65, 60.04, 138.09°)
OKLaboklab(50.82% -0.1213 0.0912)
OKLCHoklch(50.82% 0.152 143.1)
XYZxyz(7.7418, 14.2931, 3.6469)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A1F #7A1E79
analogous
#4B7A1E #1E7A1F #1E7A4D
triadic
#1E7A1F #1F1E7A #7A1F1E
tetradic
#1E7A1F #1E4B7A #7A1E79 #7A4D1E
square
#1E7A1F #1E4B7A #7A1E79 #7A4D1E
split-complementary
#1E7A1F #4D1E7A #7A1E4B
monochromatic
#061906 #124913 #1E7A1F #2AAB2B #42D043

Accessibility & contrast

On white

5.44
#1E7A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1E7A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A1F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A1F#FFFFFF#000000##FFFFFF
##1E7A1F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7a1f;
/* rgb */ color: rgb(30, 122, 31);
/* oklch */ color: oklch(50.8% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa161',
    500: '#1e7a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a1f;
$custom-light: #6aa161;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a1f",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 120.652,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.15171,
    "h": 143.1
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#1E7A1F
secondary
#AE46AC
accent
#44E2E4
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1E7A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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