#1E7F2A#1E7F2A

#1E7F2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.150 H 144.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1E7F2A
RGBrgb(30, 127, 42)
HSLhsl(127, 62%, 31%)
HSVhsv(127, 76%, 50%)
CMYKcmyk(76.4%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.47, -45.32, 37.28)
CIE-LCHlch(46.47, 58.68, 140.56°)
OKLaboklab(52.36% -0.1224 0.0866)
OKLCHoklch(52.36% 0.15 144.7)
XYZxyz(8.5421, 15.6210, 4.7550)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F2A #7F1E73
analogous
#427F1E #1E7F2A #1E7F5A
triadic
#1E7F2A #2A1E7F #7F2A1E
tetradic
#1E7F2A #1E427F #7F1E73 #7F5A1E
square
#1E7F2A #1E427F #7F1E73 #7F5A1E
split-complementary
#1E7F2A #5A1E7F #7F1E42
monochromatic
#071C09 #124D1A #1E7F2A #2AB13A #44D356

Accessibility & contrast

On white

5.09
#1E7F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1E7F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F2A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F2A#FFFFFF#000000##FFFFFF
##1E7F2A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f2a;
/* rgb */ color: rgb(30, 127, 42);
/* oklch */ color: oklch(52.4% 0.150 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ba567',
    500: '#1e7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f2a;
$custom-light: #6ba567;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f2a",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 127.423,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.14997,
    "h": 144.7
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#1E7F2A
secondary
#B247A5
accent
#43D1E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1E7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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