#1A5E2B#1A5E2B

#1A5E2B is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.106 H 148.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1A5E2B
RGBrgb(26, 94, 43)
HSLhsl(135, 57%, 24%)
HSVhsv(135, 72%, 37%)
CMYKcmyk(72.3%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.80, -33.33, 23.10)
CIE-LCHlch(34.80, 40.55, 145.27°)
OKLaboklab(42.67% -0.0898 0.0559)
OKLCHoklch(42.67% 0.106 148.1)
XYZxyz(4.8644, 8.3989, 3.6498)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5E2B #5E1A4D
analogous
#2B5E1A #1A5E2B #1A5E4D
triadic
#1A5E2B #2B1A5E #5E2B1A
tetradic
#1A5E2B #1A2B5E #5E1A4D #5E4D1A
square
#1A5E2B #1A2B5E #5E1A4D #5E4D1A
split-complementary
#1A5E2B #4D1A5E #5E1A2B
monochromatic
#07180B #0D2E15 #1A5E2B #278E41 #35BE57

Accessibility & contrast

On white

7.84
#1A5E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1A5E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5E2B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5E2B#FFFFFF#000000##FFFFFF
##1A5E2B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a5e2b;
/* rgb */ color: rgb(26, 94, 43);
/* oklch */ color: oklch(42.7% 0.106 148.1);
Tailwind
colors: {
  custom: {
    50: '#618c65',
    500: '#1a5e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a5e2b;
$custom-light: #618c65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5e2b",
  "rgb": {
    "r": 26,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 135,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.10581,
    "h": 148.1
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#1A5E2B
secondary
#94407F
accent
#48BAE0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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