#1E7B18#1E7B18

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

Color values

HEX#1E7B18
RGBrgb(30, 123, 24)
HSLhsl(116, 67%, 29%)
HSVhsv(116, 80%, 48%)
CMYKcmyk(75.6%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.95, -45.60, 43.02)
CIE-LCHlch(44.95, 62.69, 136.67°)
OKLaboklab(51.05% -0.1241 0.0963)
OKLCHoklch(51.05% 0.157 142.2)
XYZxyz(7.7828, 14.5070, 3.2539)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B18 #75187B
analogous
#507B18 #1E7B18 #187B44
triadic
#1E7B18 #181E7B #7B181E
tetradic
#1E7B18 #18507B #75187B #7B4418
square
#1E7B18 #18507B #75187B #7B4418
split-complementary
#1E7B18 #44187B #7B1850
monochromatic
#061A05 #12480E #1E7B18 #2AAE22 #40D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7B18#FFFFFF#000000##FFFFFF
##1E7B181.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)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7b18;
/* rgb */ color: rgb(30, 123, 24);
/* oklch */ color: oklch(51.1% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba25d',
    500: '#1e7b18',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b18;
$custom-light: #6ba25d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b18",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 116.364,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.15706,
    "h": 142.2
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#1E7B18
secondary
#A93FB0
accent
#3EEAE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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