#1A5C2B#1A5C2B

#1A5C2B is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.103 H 148.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1A5C2B
RGBrgb(26, 92, 43)
HSLhsl(135, 56%, 23%)
HSVhsv(135, 72%, 36%)
CMYKcmyk(71.7%, 0%, 53.3%, 63.9%)
CIE-LABlab(34.08, -32.49, 22.21)
CIE-LCHlch(34.08, 39.36, 145.65°)
OKLaboklab(42.08% -0.0876 0.0539)
OKLCHoklch(42.08% 0.103 148.4)
XYZxyz(4.6888, 8.0478, 3.5913)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5C2B #5C1A4B
analogous
#2A5C1A #1A5C2B #1A5C4C
triadic
#1A5C2B #2B1A5C #5C2B1A
tetradic
#1A5C2B #1A2A5C #5C1A4B #5C4C1A
square
#1A5C2B #1A2A5C #5C1A4B #5C4C1A
split-complementary
#1A5C2B #4C1A5C #5C1A2A
monochromatic
#07180B #0D2C15 #1A5C2B #278C41 #35BB58

Accessibility & contrast

On white

8.05
#1A5C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1A5C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5C2B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5C2B#FFFFFF#000000##FFFFFF
##1A5C2B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#015A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a5c2b;
/* rgb */ color: rgb(26, 92, 43);
/* oklch */ color: oklch(42.1% 0.103 148.4);
Tailwind
colors: {
  custom: {
    50: '#608b65',
    500: '#1a5c2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a5c2b;
$custom-light: #608b65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5c2b",
  "rgb": {
    "r": 26,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 135.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.10286,
    "h": 148.4
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#1A5C2B
secondary
#92407D
accent
#49B8DF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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