#1E370E#1E370E

#1E370E is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.072 H 135.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1E370E
RGBrgb(30, 55, 14)
HSLhsl(97, 59%, 14%)
HSVhsv(97, 75%, 22%)
CMYKcmyk(45.5%, 0%, 74.5%, 78.4%)
CIE-LABlab(20.20, -18.45, 21.99)
CIE-LCHlch(20.20, 28.71, 130.00°)
OKLaboklab(30.59% -0.0513 0.0508)
OKLCHoklch(30.59% 0.072 135.3)
XYZxyz(1.9808, 3.0400, 0.8978)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E370E #270E37
analogous
#32370E #1E370E #0E3712
triadic
#1E370E #0E1E37 #370E1E
tetradic
#1E370E #0E3237 #270E37 #37120E
square
#1E370E #0E3237 #270E37 #37120E
split-complementary
#1E370E #120E37 #370E32
monochromatic
#0D1806 #0D1806 #1E370E #39681A #539927

Accessibility & contrast

On white

13.06
#1E370E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E370E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E370E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E370E#FFFFFF#000000##FFFFFF
##1E370E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393209
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#1D352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e370e;
/* rgb */ color: rgb(30, 55, 14);
/* oklch */ color: oklch(30.6% 0.072 135.3);
Tailwind
colors: {
  custom: {
    50: '#5c6e4e',
    500: '#1e370e',
    950: '#000000',
  },
}
SCSS
$custom: #1e370e;
$custom-light: #5c6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e370e",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 96.585,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30587,
    "c": 0.07219,
    "h": 135.3
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#1E370E
secondary
#582F72
accent
#45E3A5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #1E370E

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

Preview Lab → · Contrast checker → · Palette generator →

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