#1E540F#1E540F

#1E540F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.114 H 139.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1E540F
RGBrgb(30, 84, 15)
HSLhsl(107, 70%, 19%)
HSVhsv(107, 82%, 33%)
CMYKcmyk(64.3%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.00, -31.73, 32.71)
CIE-LCHlch(31.00, 45.57, 134.13°)
OKLaboklab(39.47% -0.0871 0.0734)
OKLCHoklch(39.47% 0.114 139.9)
XYZxyz(3.7918, 6.6508, 1.5358)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E540F #450F54
analogous
#41540F #1E540F #0F5423
triadic
#1E540F #0F1E54 #540F1E
tetradic
#1E540F #0F4154 #450F54 #54230F
square
#1E540F #0F4154 #450F54 #54230F
split-complementary
#1E540F #230F54 #540F41
monochromatic
#091A05 #0B2006 #1E540F #318818 #43BC22

Accessibility & contrast

On white

9.01
#1E540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1E540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E540F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E540F#FFFFFF#000000##FFFFFF
##1E540F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#175147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e540f;
/* rgb */ color: rgb(30, 84, 15);
/* oklch */ color: oklch(39.5% 0.114 139.9);
Tailwind
colors: {
  custom: {
    50: '#628553',
    500: '#1e540f',
    950: '#000000',
  },
}
SCSS
$custom: #1e540f;
$custom-light: #628553;
$custom-dark: #000000;
JSON
{
  "hex": "#1e540f",
  "rgb": {
    "r": 30,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 106.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.11394,
    "h": 139.9
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#1E540F
secondary
#7A318E
accent
#3BEDC6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1E540F

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

Preview Lab → · Contrast checker → · Palette generator →

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