#1A5C2A#1A5C2A

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

Color values

HEX#1A5C2A
RGBrgb(26, 92, 42)
HSLhsl(135, 56%, 23%)
HSVhsv(135, 72%, 36%)
CMYKcmyk(71.7%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.07, -32.67, 22.76)
CIE-LCHlch(34.07, 39.81, 145.14°)
OKLaboklab(42.06% -0.0881 0.0551)
OKLCHoklch(42.06% 0.104 148)
XYZxyz(4.6707, 8.0406, 3.4959)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5C2A #5C1A4C
analogous
#2B5C1A #1A5C2A #1A5C4B
triadic
#1A5C2A #2A1A5C #5C2A1A
tetradic
#1A5C2A #1A2B5C #5C1A4C #5C4B1A
square
#1A5C2A #1A2B5C #5C1A4C #5C4B1A
split-complementary
#1A5C2A #4B1A5C #5C1A2B
monochromatic
#07180B #0D2C14 #1A5C2A #278C40 #35BB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A5C2A#FFFFFF#000000##FFFFFF
##1A5C2A1.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)
#5D5426
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#025A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a5c2a;
/* rgb */ color: rgb(26, 92, 42);
/* oklch */ color: oklch(42.1% 0.104 148.0);
Tailwind
colors: {
  custom: {
    50: '#608b64',
    500: '#1a5c2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a5c2a;
$custom-light: #608b64;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5c2a",
  "rgb": {
    "r": 26,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 134.545,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.10387,
    "h": 148
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#1A5C2A
secondary
#92407E
accent
#49BBDF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #1A5C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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