#1A5F2A#1A5F2A

#1A5F2A is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.108 H 147.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1A5F2A
RGBrgb(26, 95, 42)
HSLhsl(134, 57%, 24%)
HSVhsv(134, 73%, 37%)
CMYKcmyk(72.6%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.14, -33.91, 24.08)
CIE-LCHlch(35.14, 41.59, 144.62°)
OKLaboklab(42.95% -0.0914 0.058)
OKLCHoklch(42.95% 0.108 147.6)
XYZxyz(4.9358, 8.5707, 3.5842)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F2A #5F1A4F
analogous
#2C5F1A #1A5F2A #1A5F4C
triadic
#1A5F2A #2A1A5F #5F2A1A
tetradic
#1A5F2A #1A2C5F #5F1A4F #5F4C1A
square
#1A5F2A #1A2C5F #5F1A4F #5F4C1A
split-complementary
#1A5F2A #4C1A5F #5F1A2C
monochromatic
#07180B #0D2F15 #1A5F2A #278F3F #34BF54

Accessibility & contrast

On white

7.74
#1A5F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1A5F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5F2A
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F2A#FFFFFF#000000##FFFFFF
##1A5F2A1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5f2a;
/* rgb */ color: rgb(26, 95, 42);
/* oklch */ color: oklch(43.0% 0.108 147.6);
Tailwind
colors: {
  custom: {
    50: '#618d65',
    500: '#1a5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f2a;
$custom-light: #618d65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f2a",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 133.913,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.10827,
    "h": 147.6
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#1A5F2A
secondary
#954081
accent
#48BDE0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #1A5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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