#1E470C#1E470C

#1E470C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.098 H 138.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1E470C
RGBrgb(30, 71, 12)
HSLhsl(102, 71%, 16%)
HSVhsv(102, 83%, 28%)
CMYKcmyk(57.7%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.18, -26.40, 29.16)
CIE-LCHlch(26.18, 39.34, 132.15°)
OKLaboklab(35.49% -0.073 0.0655)
OKLCHoklch(35.49% 0.098 138.1)
XYZxyz(2.8549, 4.8088, 1.1255)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E470C #350C47
analogous
#3C470C #1E470C #0C4718
triadic
#1E470C #0C1E47 #470C1E
tetradic
#1E470C #0C3C47 #350C47 #47180C
square
#1E470C #0C3C47 #350C47 #47180C
split-complementary
#1E470C #180C47 #470C3C
monochromatic
#0B1A04 #0B1A04 #1E470C #347B15 #4AB01E

Accessibility & contrast

On white

10.70
#1E470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E470C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E470C#FFFFFF#000000##FFFFFF
##1E470C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#443D12
Tritanopia (blue-blind)
#1B443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e470c;
/* rgb */ color: rgb(30, 71, 12);
/* oklch */ color: oklch(35.5% 0.098 138.1);
Tailwind
colors: {
  custom: {
    50: '#5f7b4f',
    500: '#1e470c',
    950: '#000000',
  },
}
SCSS
$custom: #1e470c;
$custom-light: #5f7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e470c",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 101.695,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35488,
    "c": 0.09805,
    "h": 138.1
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#1E470C
secondary
#682C83
accent
#3AEEB7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1E470C

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

Preview Lab → · Contrast checker → · Palette generator →

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