#1E5F12#1E5F12

#1E5F12 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.126 H 140.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1E5F12
RGBrgb(30, 95, 18)
HSLhsl(111, 68%, 22%)
HSVhsv(111, 81%, 37%)
CMYKcmyk(68.4%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.01, -35.87, 35.50)
CIE-LCHlch(35.01, 50.47, 135.30°)
OKLaboklab(42.79% -0.0981 0.0797)
OKLCHoklch(42.79% 0.126 140.9)
XYZxyz(4.7366, 8.5036, 1.9639)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5F12 #53125F
analogous
#455F12 #1E5F12 #125F2C
triadic
#1E5F12 #121E5F #5F121E
tetradic
#1E5F12 #12455F #53125F #5F2C12
square
#1E5F12 #12455F #53125F #5F2C12
split-complementary
#1E5F12 #2C125F #5F1245
monochromatic
#081A05 #0E2C08 #1E5F12 #2E921C #3EC625

Accessibility & contrast

On white

7.78
#1E5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1E5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5F12
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5F12#FFFFFF#000000##FFFFFF
##1E5F121.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#135C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e5f12;
/* rgb */ color: rgb(30, 95, 18);
/* oklch */ color: oklch(42.8% 0.126 140.9);
Tailwind
colors: {
  custom: {
    50: '#648d56',
    500: '#1e5f12',
    950: '#000000',
  },
}
SCSS
$custom: #1e5f12;
$custom-light: #648d56;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5f12",
  "rgb": {
    "r": 30,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 110.649,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.12641,
    "h": 140.9
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#1E5F12
secondary
#883697
accent
#3DEBD0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1E5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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