#1E460C#1E460C

#1E460C is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.097 H 138.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1E460C
RGBrgb(30, 70, 12)
HSLhsl(101, 71%, 16%)
HSVhsv(101, 83%, 27%)
CMYKcmyk(57.1%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.81, -25.95, 28.79)
CIE-LCHlch(25.81, 38.76, 132.02°)
OKLaboklab(35.18% -0.0718 0.0647)
OKLCHoklch(35.18% 0.097 138)
XYZxyz(2.7918, 4.6827, 1.1045)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E460C #340C46
analogous
#3B460C #1E460C #0C4617
triadic
#1E460C #0C1E46 #460C1E
tetradic
#1E460C #0C3B46 #340C46 #46170C
square
#1E460C #0C3B46 #340C46 #46170C
split-complementary
#1E460C #170C46 #460C3B
monochromatic
#0B1A04 #0B1A04 #1E460C #347A15 #4BAE1E

Accessibility & contrast

On white

10.84
#1E460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E460C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E460C#FFFFFF#000000##FFFFFF
##1E460C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F03
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#1B433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e460c;
/* rgb */ color: rgb(30, 70, 12);
/* oklch */ color: oklch(35.2% 0.097 138.0);
Tailwind
colors: {
  custom: {
    50: '#5f7a4f',
    500: '#1e460c',
    950: '#000000',
  },
}
SCSS
$custom: #1e460c;
$custom-light: #5f7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e460c",
  "rgb": {
    "r": 30,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 101.379,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.09663,
    "h": 138
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#1E460C
secondary
#672C82
accent
#3AEDB6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1E460C

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

Preview Lab → · Contrast checker → · Palette generator →

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