#1A511B#1A511B

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

Color values

HEX#1A511B
RGBrgb(26, 81, 27)
HSLhsl(121, 51%, 21%)
HSVhsv(121, 68%, 32%)
CMYKcmyk(67.9%, 0%, 66.7%, 68.2%)
CIE-LABlab(29.87, -30.33, 25.95)
CIE-LCHlch(29.87, 39.91, 139.45°)
OKLaboklab(38.53% -0.0823 0.0608)
OKLCHoklch(38.53% 0.102 143.5)
XYZxyz(3.5661, 6.1833, 2.0423)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A511B #511A50
analogous
#34511A #1A511B #1A5136
triadic
#1A511B #1B1A51 #511B1A
tetradic
#1A511B #1A3451 #511A50 #51361A
square
#1A511B #1A3451 #511A50 #51361A
split-complementary
#1A511B #361A51 #511A34
monochromatic
#071708 #0B230C #1A511B #297F2A #38AE3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A511B#FFFFFF#000000##FFFFFF
##1A511B1.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)
#534915
Deuteranopia (green-blind)
#4C451F
Tritanopia (blue-blind)
#0F4F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a511b;
/* rgb */ color: rgb(26, 81, 27);
/* oklch */ color: oklch(38.5% 0.102 143.5);
Tailwind
colors: {
  custom: {
    50: '#5e8259',
    500: '#1a511b',
    950: '#000000',
  },
}
SCSS
$custom: #1a511b;
$custom-light: #5e8259;
$custom-dark: #000000;
JSON
{
  "hex": "#1a511b",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 121.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.10236,
    "h": 143.5
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#1A511B
secondary
#874086
accent
#4DD8DB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A511B

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

Preview Lab → · Contrast checker → · Palette generator →

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