#1E7F31#1E7F31

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

Color values

HEX#1E7F31
RGBrgb(30, 127, 49)
HSLhsl(132, 62%, 31%)
HSVhsv(132, 76%, 50%)
CMYKcmyk(76.4%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.55, -44.44, 34.03)
CIE-LCHlch(46.55, 55.97, 142.56°)
OKLaboklab(52.44% -0.1198 0.0803)
OKLCHoklch(52.44% 0.144 146.2)
XYZxyz(8.6785, 15.6755, 5.4734)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F31 #7F1E6C
analogous
#3B7F1E #1E7F31 #1E7F61
triadic
#1E7F31 #311E7F #7F311E
tetradic
#1E7F31 #1E3B7F #7F1E6C #7F611E
square
#1E7F31 #1E3B7F #7F1E6C #7F611E
split-complementary
#1E7F31 #611E7F #7F1E3B
monochromatic
#071C0B #124D1E #1E7F31 #2AB144 #44D360

Accessibility & contrast

On white

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

On black

4.14
#1E7F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1E7F31#FFFFFF#000000##FFFFFF
##1E7F311.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7f31;
/* rgb */ color: rgb(30, 127, 49);
/* oklch */ color: oklch(52.4% 0.144 146.2);
Tailwind
colors: {
  custom: {
    50: '#6aa56c',
    500: '#1e7f31',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f31;
$custom-light: #6aa56c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f31",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 131.753,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.14423,
    "h": 146.2
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#1E7F31
secondary
#B2479D
accent
#43C5E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1E7F31

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

Preview Lab → · Contrast checker → · Palette generator →

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