#1E7D2C#1E7D2C

#1E7D2C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.146 H 145.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1E7D2C
RGBrgb(30, 125, 44)
HSLhsl(129, 61%, 30%)
HSVhsv(129, 76%, 49%)
CMYKcmyk(76%, 0%, 64.8%, 51%)
CIE-LABlab(45.80, -44.36, 35.60)
CIE-LCHlch(45.80, 56.88, 141.25°)
OKLaboklab(51.81% -0.1198 0.0832)
OKLCHoklch(51.81% 0.146 145.2)
XYZxyz(8.3231, 15.1242, 4.8630)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D2C #7D1E6F
analogous
#3F7D1E #1E7D2C #1E7D5B
triadic
#1E7D2C #2C1E7D #7D2C1E
tetradic
#1E7D2C #1E3F7D #7D1E6F #7D5B1E
square
#1E7D2C #1E3F7D #7D1E6F #7D5B1E
split-complementary
#1E7D2C #5B1E7D #7D1E3F
monochromatic
#061A09 #124C1B #1E7D2C #2AAE3D #43D258

Accessibility & contrast

On white

5.22
#1E7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1E7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D2C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D2C#FFFFFF#000000##FFFFFF
##1E7D2C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#746A33
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d2c;
/* rgb */ color: rgb(30, 125, 44);
/* oklch */ color: oklch(51.8% 0.146 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa468',
    500: '#1e7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d2c;
$custom-light: #6aa468;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d2c",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 128.842,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.14584,
    "h": 145.2
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

primary
#1E7D2C
secondary
#B046A1
accent
#43CDE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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