#1E7C2C#1E7C2C

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

Color values

HEX#1E7C2C
RGBrgb(30, 124, 44)
HSLhsl(129, 61%, 30%)
HSVhsv(129, 76%, 49%)
CMYKcmyk(75.8%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.46, -44.00, 35.21)
CIE-LCHlch(45.46, 56.35, 141.33°)
OKLaboklab(51.52% -0.1188 0.0824)
OKLCHoklch(51.52% 0.145 145.3)
XYZxyz(8.1971, 14.8722, 4.8210)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C2C #7C1E6E
analogous
#3F7C1E #1E7C2C #1E7C5B
triadic
#1E7C2C #2C1E7C #7C2C1E
tetradic
#1E7C2C #1E3F7C #7C1E6E #7C5B1E
square
#1E7C2C #1E3F7C #7C1E6E #7C5B1E
split-complementary
#1E7C2C #5B1E7C #7C1E3F
monochromatic
#061909 #124B1B #1E7C2C #2AAD3D #43D158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7C2C#FFFFFF#000000##FFFFFF
##1E7C2C1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7c2c;
/* rgb */ color: rgb(30, 124, 44);
/* oklch */ color: oklch(51.5% 0.145 145.3);
Tailwind
colors: {
  custom: {
    50: '#6aa368',
    500: '#1e7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c2c;
$custom-light: #6aa368;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c2c",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 128.936,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.14456,
    "h": 145.3
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#1E7C2C
secondary
#AF46A0
accent
#44CCE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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