#1E7C1B#1E7C1B

#1E7C1B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.157 H 142.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1E7C1B
RGBrgb(30, 124, 27)
HSLhsl(118, 64%, 30%)
HSVhsv(118, 78%, 49%)
CMYKcmyk(75.8%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.32, -45.72, 42.32)
CIE-LCHlch(45.32, 62.30, 137.21°)
OKLaboklab(51.36% -0.1243 0.0952)
OKLCHoklch(51.36% 0.157 142.5)
XYZxyz(7.9404, 14.7696, 3.4690)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C1B #791B7C
analogous
#4F7C1B #1E7C1B #1B7C48
triadic
#1E7C1B #1B1E7C #7C1B1E
tetradic
#1E7C1B #1B4F7C #791B7C #7C481B
square
#1E7C1B #1B4F7C #791B7C #7C481B
split-complementary
#1E7C1B #481B7C #7C1B4F
monochromatic
#061905 #124A10 #1E7C1B #2AAE26 #41D53D

Accessibility & contrast

On white

5.31
#1E7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1E7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7C1B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7C1B#FFFFFF#000000##FFFFFF
##1E7C1B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1e7c1b;
/* rgb */ color: rgb(30, 124, 27);
/* oklch */ color: oklch(51.4% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ba35f',
    500: '#1e7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c1b;
$custom-light: #6ba35f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c1b",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 118.144,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.15655,
    "h": 142.5
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#1E7C1B
secondary
#AD43B0
accent
#41E7E2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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