#1E7E18#1E7E18

#1E7E18 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.161 H 142.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1E7E18
RGBrgb(30, 126, 24)
HSLhsl(116, 68%, 29%)
HSVhsv(116, 81%, 49%)
CMYKcmyk(76.2%, 0%, 81%, 50.6%)
CIE-LABlab(45.99, -46.63, 44.03)
CIE-LCHlch(45.99, 64.13, 136.64°)
OKLaboklab(51.92% -0.1269 0.0984)
OKLCHoklch(51.92% 0.161 142.2)
XYZxyz(8.1607, 15.2628, 3.3799)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E18 #78187E
analogous
#517E18 #1E7E18 #187E45
triadic
#1E7E18 #181E7E #7E181E
tetradic
#1E7E18 #18517E #78187E #7E4518
square
#1E7E18 #18517E #78187E #7E4518
split-complementary
#1E7E18 #45187E #7E1851
monochromatic
#061A05 #124B0E #1E7E18 #2AB122 #41D937

Accessibility & contrast

On white

5.18
#1E7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1E7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E18
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E18#FFFFFF#000000##FFFFFF
##1E7E181.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7e18;
/* rgb */ color: rgb(30, 126, 24);
/* oklch */ color: oklch(51.9% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba45e',
    500: '#1e7e18',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e18;
$custom-light: #6ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e18",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 116.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.16054,
    "h": 142.2
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#1E7E18
secondary
#AC3FB2
accent
#3DEBE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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