#1E520F#1E520F

#1E520F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.111 H 139.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#1E520F
RGBrgb(30, 82, 15)
HSLhsl(107, 69%, 19%)
HSVhsv(107, 82%, 32%)
CMYKcmyk(63.4%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.27, -30.91, 31.99)
CIE-LCHlch(30.27, 44.48, 134.02°)
OKLaboklab(38.86% -0.0849 0.0719)
OKLCHoklch(38.86% 0.111 139.8)
XYZxyz(3.6388, 6.3448, 1.4848)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E520F #430F52
analogous
#40520F #1E520F #0F5222
triadic
#1E520F #0F1E52 #520F1E
tetradic
#1E520F #0F4052 #430F52 #52220F
square
#1E520F #0F4052 #430F52 #52220F
split-complementary
#1E520F #220F52 #520F40
monochromatic
#091A05 #0B1E06 #1E520F #318618 #44B922

Accessibility & contrast

On white

9.26
#1E520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1E520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E520F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E520F#FFFFFF#000000##FFFFFF
##1E520F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#184F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e520f;
/* rgb */ color: rgb(30, 82, 15);
/* oklch */ color: oklch(38.9% 0.111 139.8);
Tailwind
colors: {
  custom: {
    50: '#618353',
    500: '#1e520f',
    950: '#000000',
  },
}
SCSS
$custom: #1e520f;
$custom-light: #618353;
$custom-dark: #000000;
JSON
{
  "hex": "#1e520f",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 106.567,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.11126,
    "h": 139.8
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#1E520F
secondary
#78318C
accent
#3CECC4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1E520F

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

Preview Lab → · Contrast checker → · Palette generator →

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