#1E7D18#1E7D18

#1E7D18 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.159 H 142.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1E7D18
RGBrgb(30, 125, 24)
HSLhsl(116, 68%, 29%)
HSVhsv(116, 81%, 49%)
CMYKcmyk(76%, 0%, 80.8%, 51%)
CIE-LABlab(45.65, -46.29, 43.69)
CIE-LCHlch(45.65, 63.65, 136.65°)
OKLaboklab(51.63% -0.1259 0.0977)
OKLCHoklch(51.63% 0.159 142.2)
XYZxyz(8.0334, 15.0083, 3.3375)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D18 #77187D
analogous
#517D18 #1E7D18 #187D45
triadic
#1E7D18 #181E7D #7D181E
tetradic
#1E7D18 #18517D #77187D #7D4518
square
#1E7D18 #18517D #77187D #7D4518
split-complementary
#1E7D18 #45187D #7D1851
monochromatic
#061A05 #124A0E #1E7D18 #2AB022 #40D937

Accessibility & contrast

On white

5.25
#1E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1E7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D18
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D18#FFFFFF#000000##FFFFFF
##1E7D181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7d18;
/* rgb */ color: rgb(30, 125, 24);
/* oklch */ color: oklch(51.6% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba45e',
    500: '#1e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d18;
$custom-light: #6ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d18",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 116.436,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.15937,
    "h": 142.2
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#1E7D18
secondary
#AB3FB2
accent
#3DEBE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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