#1E791F#1E791F

#1E791F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.150 H 143.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1E791F
RGBrgb(30, 121, 31)
HSLhsl(121, 60%, 30%)
HSVhsv(121, 75%, 47%)
CMYKcmyk(75.2%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.30, -44.33, 39.74)
CIE-LCHlch(44.30, 59.54, 138.13°)
OKLaboklab(50.53% -0.1203 0.0904)
OKLCHoklch(50.53% 0.15 143.1)
XYZxyz(7.6196, 14.0488, 3.6062)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E791F #791E78
analogous
#4B791E #1E791F #1E794C
triadic
#1E791F #1F1E79 #791F1E
tetradic
#1E791F #1E4B79 #791E78 #794C1E
square
#1E791F #1E4B79 #791E78 #794C1E
split-complementary
#1E791F #4C1E79 #791E4B
monochromatic
#061906 #124812 #1E791F #2AAA2C #41D043

Accessibility & contrast

On white

5.51
#1E791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1E791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E791F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E791F#FFFFFF#000000##FFFFFF
##1E791F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1e791f;
/* rgb */ color: rgb(30, 121, 31);
/* oklch */ color: oklch(50.5% 0.150 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa160',
    500: '#1e791f',
    950: '#000000',
  },
}
SCSS
$custom: #1e791f;
$custom-light: #6aa160;
$custom-dark: #000000;
JSON
{
  "hex": "#1e791f",
  "rgb": {
    "r": 30,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 120.659,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.15049,
    "h": 143.1
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#1E791F
secondary
#AD46AB
accent
#44E2E3
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1E791F

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

Preview Lab → · Contrast checker → · Palette generator →

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