#1A5812#1A5812

#1A5812 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.119 H 141.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1A5812
RGBrgb(26, 88, 18)
HSLhsl(113, 66%, 21%)
HSVhsv(113, 80%, 35%)
CMYKcmyk(70.5%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.35, -34.14, 32.82)
CIE-LCHlch(32.35, 47.35, 136.13°)
OKLaboklab(40.56% -0.0932 0.0741)
OKLCHoklch(40.56% 0.119 141.5)
XYZxyz(4.0247, 7.2423, 1.7580)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5812 #501258
analogous
#3D5812 #1A5812 #12582D
triadic
#1A5812 #121A58 #58121A
tetradic
#1A5812 #123D58 #501258 #582D12
square
#1A5812 #123D58 #501258 #582D12
split-complementary
#1A5812 #2D1258 #58123D
monochromatic
#081905 #0B2508 #1A5812 #298B1C #38BE27

Accessibility & contrast

On white

8.58
#1A5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5812
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5812#FFFFFF#000000##FFFFFF
##1A58121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#0E554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a5812;
/* rgb */ color: rgb(26, 88, 18);
/* oklch */ color: oklch(40.6% 0.119 141.5);
Tailwind
colors: {
  custom: {
    50: '#618855',
    500: '#1a5812',
    950: '#000000',
  },
}
SCSS
$custom: #1a5812;
$custom-light: #618855;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5812",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 113.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40558,
    "c": 0.11906,
    "h": 141.5
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#1A5812
secondary
#863591
accent
#3FE9D6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1A5812

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

Preview Lab → · Contrast checker → · Palette generator →

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