#1E7D2A#1E7D2A

#1E7D2A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.147 H 144.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1E7D2A
RGBrgb(30, 125, 42)
HSLhsl(128, 61%, 30%)
HSVhsv(128, 76%, 49%)
CMYKcmyk(76%, 0%, 66.4%, 51%)
CIE-LABlab(45.78, -44.60, 36.52)
CIE-LCHlch(45.78, 57.64, 140.69°)
OKLaboklab(51.79% -0.1205 0.085)
OKLCHoklch(51.79% 0.147 144.8)
XYZxyz(8.2864, 15.1095, 4.6697)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D2A #7D1E71
analogous
#417D1E #1E7D2A #1E7D59
triadic
#1E7D2A #2A1E7D #7D2A1E
tetradic
#1E7D2A #1E417D #7D1E71 #7D591E
square
#1E7D2A #1E417D #7D1E71 #7D591E
split-complementary
#1E7D2A #591E7D #7D1E41
monochromatic
#061A09 #124C19 #1E7D2A #2AAE3B #43D255

Accessibility & contrast

On white

5.22
#1E7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1E7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D2A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D2A#FFFFFF#000000##FFFFFF
##1E7D2A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d2a;
/* rgb */ color: rgb(30, 125, 42);
/* oklch */ color: oklch(51.8% 0.147 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa467',
    500: '#1e7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d2a;
$custom-light: #6aa467;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d2a",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 127.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.14745,
    "h": 144.8
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#1E7D2A
secondary
#B046A3
accent
#43D0E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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