#1E7D1F#1E7D1F

#1E7D1F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.155 H 143.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1E7D1F
RGBrgb(30, 125, 31)
HSLhsl(121, 61%, 30%)
HSVhsv(121, 76%, 49%)
CMYKcmyk(76%, 0%, 75.2%, 51%)
CIE-LABlab(45.69, -45.73, 41.17)
CIE-LCHlch(45.69, 61.53, 138.01°)
OKLaboklab(51.68% -0.1241 0.0934)
OKLCHoklch(51.68% 0.155 143)
XYZxyz(8.1159, 15.0413, 3.7716)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D1F #7D1E7C
analogous
#4C7D1E #1E7D1F #1E7D4F
triadic
#1E7D1F #1F1E7D #7D1F1E
tetradic
#1E7D1F #1E4C7D #7D1E7C #7D4F1E
square
#1E7D1F #1E4C7D #7D1E7C #7D4F1E
split-complementary
#1E7D1F #4F1E7D #7D1E4C
monochromatic
#061A07 #124C13 #1E7D1F #2AAE2B #43D245

Accessibility & contrast

On white

5.24
#1E7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1E7D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D1F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D1F#FFFFFF#000000##FFFFFF
##1E7D1F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d1f;
/* rgb */ color: rgb(30, 125, 31);
/* oklch */ color: oklch(51.7% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba461',
    500: '#1e7d1f',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d1f;
$custom-light: #6ba461;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d1f",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 120.632,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.15532,
    "h": 143
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#1E7D1F
secondary
#B046AF
accent
#43E3E4
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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