#1E7B1A#1E7B1A

#1E7B1A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.156 H 142.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1E7B1A
RGBrgb(30, 123, 26)
HSLhsl(118, 65%, 29%)
HSVhsv(118, 79%, 48%)
CMYKcmyk(75.6%, 0%, 78.9%, 51.8%)
CIE-LABlab(44.96, -45.45, 42.33)
CIE-LCHlch(44.96, 62.11, 137.04°)
OKLaboklab(51.07% -0.1236 0.0951)
OKLCHoklch(51.07% 0.156 142.4)
XYZxyz(7.8044, 14.5156, 3.3676)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B1A #771A7B
analogous
#4F7B1A #1E7B1A #1A7B47
triadic
#1E7B1A #1A1E7B #7B1A1E
tetradic
#1E7B1A #1A4F7B #771A7B #7B471A
square
#1E7B1A #1A4F7B #771A7B #7B471A
split-complementary
#1E7B1A #471A7B #7B1A4F
monochromatic
#061905 #12480F #1E7B1A #2AAE25 #40D53A

Accessibility & contrast

On white

5.38
#1E7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1E7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B1A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B1A#FFFFFF#000000##FFFFFF
##1E7B1A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7b1a;
/* rgb */ color: rgb(30, 123, 26);
/* oklch */ color: oklch(51.1% 0.156 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa25e',
    500: '#1e7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b1a;
$custom-light: #6aa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b1a",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 117.526,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.15596,
    "h": 142.4
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#1E7B1A
secondary
#AB42AF
accent
#40E8E1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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