#1A511F#1A511F

#1A511F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.099 H 144.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1A511F
RGBrgb(26, 81, 31)
HSLhsl(125, 51%, 21%)
HSVhsv(125, 68%, 32%)
CMYKcmyk(67.9%, 0%, 61.7%, 68.2%)
CIE-LABlab(29.92, -29.77, 23.86)
CIE-LCHlch(29.92, 38.15, 141.29°)
OKLaboklab(38.59% -0.0806 0.0567)
OKLCHoklch(38.59% 0.099 144.9)
XYZxyz(3.6155, 6.2030, 2.3028)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A511F #511A4C
analogous
#30511A #1A511F #1A513A
triadic
#1A511F #1F1A51 #511F1A
tetradic
#1A511F #1A3051 #511A4C #513A1A
square
#1A511F #1A3051 #511A4C #513A1A
split-complementary
#1A511F #3A1A51 #511A30
monochromatic
#071709 #0B230D #1A511F #297F31 #38AE42

Accessibility & contrast

On white

9.37
#1A511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A511F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A511F#FFFFFF#000000##FFFFFF
##1A511F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#0D4F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a511f;
/* rgb */ color: rgb(26, 81, 31);
/* oklch */ color: oklch(38.6% 0.099 144.9);
Tailwind
colors: {
  custom: {
    50: '#5e825c',
    500: '#1a511f',
    950: '#000000',
  },
}
SCSS
$custom: #1a511f;
$custom-light: #5e825c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a511f",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 125.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38588,
    "c": 0.09857,
    "h": 144.9
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#1A511F
secondary
#874081
accent
#4DCEDB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A511F

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

Preview Lab → · Contrast checker → · Palette generator →

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