#1A370F#1A370F

#1A370F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.074 H 138.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1A370F
RGBrgb(26, 55, 15)
HSLhsl(104, 57%, 14%)
HSVhsv(104, 73%, 22%)
CMYKcmyk(52.7%, 0%, 72.7%, 78.4%)
CIE-LABlab(19.99, -19.94, 21.17)
CIE-LCHlch(19.99, 29.09, 133.29°)
OKLaboklab(30.35% -0.055 0.0492)
OKLCHoklch(30.35% 0.074 138.1)
XYZxyz(1.8784, 2.9864, 0.9293)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A370F #2C0F37
analogous
#2E370F #1A370F #0F3718
triadic
#1A370F #0F1A37 #370F1A
tetradic
#1A370F #0F2E37 #2C0F37 #37180F
square
#1A370F #0F2E37 #2C0F37 #37180F
split-complementary
#1A370F #180F37 #370F2E
monochromatic
#0B1807 #0B1807 #1A370F #31671C #479729

Accessibility & contrast

On white

13.15
#1A370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A370F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A370F#FFFFFF#000000##FFFFFF
##1A370F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#18352F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a370f;
/* rgb */ color: rgb(26, 55, 15);
/* oklch */ color: oklch(30.4% 0.074 138.1);
Tailwind
colors: {
  custom: {
    50: '#596e4f',
    500: '#1a370f',
    950: '#000000',
  },
}
SCSS
$custom: #1a370f;
$custom-light: #596e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a370f",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 103.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.07378,
    "h": 138.1
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#1A370F
secondary
#5F3171
accent
#47E0B6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #1A370F

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

Preview Lab → · Contrast checker → · Palette generator →

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