#1E370C#1E370C

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

Color values

HEX#1E370C
RGBrgb(30, 55, 12)
HSLhsl(95, 64%, 13%)
HSVhsv(95, 78%, 22%)
CMYKcmyk(45.5%, 0%, 78.2%, 78.4%)
CIE-LABlab(20.18, -18.66, 22.93)
CIE-LCHlch(20.18, 29.56, 129.15°)
OKLaboklab(30.56% -0.052 0.0527)
OKLCHoklch(30.56% 0.074 134.7)
XYZxyz(1.9679, 3.0348, 0.8298)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E370C #250C37
analogous
#33370C #1E370C #0C370F
triadic
#1E370C #0C1E37 #370C1E
tetradic
#1E370C #0C3337 #250C37 #370F0C
square
#1E370C #0C3337 #250C37 #370F0C
split-complementary
#1E370C #0F0C37 #370C33
monochromatic
#0E1905 #0E1905 #1E370C #396917 #559B22

Accessibility & contrast

On white

13.07
#1E370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E370C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E370C#FFFFFF#000000##FFFFFF
##1E370C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393207
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#1E352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e370c;
/* rgb */ color: rgb(30, 55, 12);
/* oklch */ color: oklch(30.6% 0.074 134.7);
Tailwind
colors: {
  custom: {
    50: '#5c6e4d',
    500: '#1e370c',
    950: '#000000',
  },
}
SCSS
$custom: #1e370c;
$custom-light: #5c6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e370c",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 94.884,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30563,
    "c": 0.07403,
    "h": 134.7
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#1E370C
secondary
#552C73
accent
#41E7A1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1E370C

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

Preview Lab → · Contrast checker → · Palette generator →

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