#1A581B#1A581B

#1A581B is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.112 H 143.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1A581B
RGBrgb(26, 88, 27)
HSLhsl(121, 54%, 22%)
HSVhsv(121, 70%, 35%)
CMYKcmyk(70.5%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.43, -33.21, 28.83)
CIE-LCHlch(32.43, 43.98, 139.04°)
OKLaboklab(40.65% -0.0901 0.067)
OKLCHoklch(40.65% 0.112 143.4)
XYZxyz(4.1133, 7.2778, 2.2247)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A581B #581A57
analogous
#38581A #1A581B #1A583A
triadic
#1A581B #1B1A58 #581B1A
tetradic
#1A581B #1A3858 #581A57 #583A1A
square
#1A581B #1A3858 #581A57 #583A1A
split-complementary
#1A581B #3A1A58 #581A38
monochromatic
#071807 #0C290D #1A581B #288729 #36B638

Accessibility & contrast

On white

8.55
#1A581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1A581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A581B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A581B#FFFFFF#000000##FFFFFF
##1A581B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#0C554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a581b;
/* rgb */ color: rgb(26, 88, 27);
/* oklch */ color: oklch(40.6% 0.112 143.4);
Tailwind
colors: {
  custom: {
    50: '#60885a',
    500: '#1a581b',
    950: '#000000',
  },
}
SCSS
$custom: #1a581b;
$custom-light: #60885a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a581b",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 120.968,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.11228,
    "h": 143.4
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#1A581B
secondary
#8E408D
accent
#4ADBDE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A581B

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

Preview Lab → · Contrast checker → · Palette generator →

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