#1E7A2C#1E7A2C

#1E7A2C is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.142 H 145.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1E7A2C
RGBrgb(30, 122, 44)
HSLhsl(129, 61%, 30%)
HSVhsv(129, 75%, 48%)
CMYKcmyk(75.4%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.77, -43.27, 34.42)
CIE-LCHlch(44.77, 55.29, 141.50°)
OKLaboklab(50.95% -0.1168 0.0807)
OKLCHoklch(50.95% 0.142 145.4)
XYZxyz(7.9490, 14.3760, 4.7383)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A2C #7A1E6C
analogous
#3E7A1E #1E7A2C #1E7A5A
triadic
#1E7A2C #2C1E7A #7A2C1E
tetradic
#1E7A2C #1E3E7A #7A1E6C #7A5A1E
square
#1E7A2C #1E3E7A #7A1E6C #7A5A1E
split-complementary
#1E7A2C #5A1E7A #7A1E3E
monochromatic
#061909 #12491A #1E7A2C #2AAB3E #42D058

Accessibility & contrast

On white

5.42
#1E7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1E7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A2C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A2C#FFFFFF#000000##FFFFFF
##1E7A2C1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E23
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7a2c;
/* rgb */ color: rgb(30, 122, 44);
/* oklch */ color: oklch(50.9% 0.142 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a168',
    500: '#1e7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a2c;
$custom-light: #69a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a2c",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 129.13,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.14199,
    "h": 145.4
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#1E7A2C
secondary
#AE469E
accent
#44CBE4
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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