#1E7D31#1E7D31

#1E7D31 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.142 H 146.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1E7D31
RGBrgb(30, 125, 49)
HSLhsl(132, 61%, 30%)
HSVhsv(132, 76%, 49%)
CMYKcmyk(76%, 0%, 60.8%, 51%)
CIE-LABlab(45.86, -43.71, 33.22)
CIE-LCHlch(45.86, 54.91, 142.76°)
OKLaboklab(51.87% -0.1178 0.0786)
OKLCHoklch(51.87% 0.142 146.3)
XYZxyz(8.4228, 15.1640, 5.3882)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D31 #7D1E6A
analogous
#3A7D1E #1E7D31 #1E7D60
triadic
#1E7D31 #311E7D #7D311E
tetradic
#1E7D31 #1E3A7D #7D1E6A #7D601E
square
#1E7D31 #1E3A7D #7D1E6A #7D601E
split-complementary
#1E7D31 #601E7D #7D1E3A
monochromatic
#061A0A #124C1E #1E7D31 #2AAE44 #43D260

Accessibility & contrast

On white

5.21
#1E7D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1E7D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D31
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D31#FFFFFF#000000##FFFFFF
##1E7D311.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7d31;
/* rgb */ color: rgb(30, 125, 49);
/* oklch */ color: oklch(51.9% 0.142 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aa46c',
    500: '#1e7d31',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d31;
$custom-light: #6aa46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d31",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 132,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.14162,
    "h": 146.3
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#1E7D31
secondary
#B0469B
accent
#43C4E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1E7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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