#1E7C2F#1E7C2F

#1E7C2F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.142 H 145.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1E7C2F
RGBrgb(30, 124, 47)
HSLhsl(131, 61%, 30%)
HSVhsv(131, 76%, 49%)
CMYKcmyk(75.8%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.49, -43.62, 33.79)
CIE-LCHlch(45.49, 55.17, 142.23°)
OKLaboklab(51.56% -0.1176 0.0796)
OKLCHoklch(51.56% 0.142 145.9)
XYZxyz(8.2556, 14.8956, 5.1288)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C2F #7C1E6B
analogous
#3C7C1E #1E7C2F #1E7C5E
triadic
#1E7C2F #2F1E7C #7C2F1E
tetradic
#1E7C2F #1E3C7C #7C1E6B #7C5E1E
square
#1E7C2F #1E3C7C #7C1E6B #7C5E1E
split-complementary
#1E7C2F #5E1E7C #7C1E3C
monochromatic
#06190A #124B1C #1E7C2F #2AAD42 #43D15D

Accessibility & contrast

On white

5.28
#1E7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1E7C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7C2F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7C2F#FFFFFF#000000##FFFFFF
##1E7C2F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7c2f;
/* rgb */ color: rgb(30, 124, 47);
/* oklch */ color: oklch(51.6% 0.142 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa36a',
    500: '#1e7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c2f;
$custom-light: #6aa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c2f",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 130.851,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.14205,
    "h": 145.9
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#1E7C2F
secondary
#AF469C
accent
#44C7E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1E7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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