#1A511C#1A511C

#1A511C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.101 H 143.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1A511C
RGBrgb(26, 81, 28)
HSLhsl(122, 51%, 21%)
HSVhsv(122, 68%, 32%)
CMYKcmyk(67.9%, 0%, 65.4%, 68.2%)
CIE-LABlab(29.88, -30.20, 25.44)
CIE-LCHlch(29.88, 39.48, 139.89°)
OKLaboklab(38.55% -0.0819 0.0598)
OKLCHoklch(38.55% 0.101 143.9)
XYZxyz(3.5778, 6.1880, 2.1042)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A511C #511A4F
analogous
#33511A #1A511C #1A5137
triadic
#1A511C #1C1A51 #511C1A
tetradic
#1A511C #1A3351 #511A4F #51371A
square
#1A511C #1A3351 #511A4F #51371A
split-complementary
#1A511C #371A51 #511A33
monochromatic
#071708 #0B230C #1A511C #297F2C #38AE3C

Accessibility & contrast

On white

9.39
#1A511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1A511C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A511C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A511C#FFFFFF#000000##FFFFFF
##1A511C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534916
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#0E4F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a511c;
/* rgb */ color: rgb(26, 81, 28);
/* oklch */ color: oklch(38.5% 0.101 143.9);
Tailwind
colors: {
  custom: {
    50: '#5e825a',
    500: '#1a511c',
    950: '#000000',
  },
}
SCSS
$custom: #1a511c;
$custom-light: #5e825a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a511c",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 122.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.10143,
    "h": 143.9
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#1A511C
secondary
#874085
accent
#4DD6DB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A511C

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

Preview Lab → · Contrast checker → · Palette generator →

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