#1E7F2F#1E7F2F

#1E7F2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.146 H 145.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1E7F2F
RGBrgb(30, 127, 47)
HSLhsl(131, 62%, 31%)
HSVhsv(131, 76%, 50%)
CMYKcmyk(76.4%, 0%, 63%, 50.2%)
CIE-LABlab(46.52, -44.71, 34.98)
CIE-LCHlch(46.52, 56.76, 141.96°)
OKLaboklab(52.42% -0.1206 0.0822)
OKLCHoklch(52.42% 0.146 145.7)
XYZxyz(8.6373, 15.6590, 5.2561)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F2F #7F1E6E
analogous
#3E7F1E #1E7F2F #1E7F5F
triadic
#1E7F2F #2F1E7F #7F2F1E
tetradic
#1E7F2F #1E3E7F #7F1E6E #7F5F1E
square
#1E7F2F #1E3E7F #7F1E6E #7F5F1E
split-complementary
#1E7F2F #5F1E7F #7F1E3E
monochromatic
#071C0A #124D1D #1E7F2F #2AB141 #44D35D

Accessibility & contrast

On white

5.08
#1E7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1E7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F2F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F2F#FFFFFF#000000##FFFFFF
##1E7F2F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f2f;
/* rgb */ color: rgb(30, 127, 47);
/* oklch */ color: oklch(52.4% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#6aa56a',
    500: '#1e7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f2f;
$custom-light: #6aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f2f",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 130.515,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.14592,
    "h": 145.7
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#1E7F2F
secondary
#B2479F
accent
#43C8E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1E7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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