#1A5F2F#1A5F2F

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

Color values

HEX#1A5F2F
RGBrgb(26, 95, 47)
HSLhsl(138, 57%, 24%)
HSVhsv(138, 73%, 37%)
CMYKcmyk(72.6%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.22, -33.04, 21.35)
CIE-LCHlch(35.22, 39.34, 147.13°)
OKLaboklab(43.04% -0.089 0.0522)
OKLCHoklch(43.04% 0.103 149.6)
XYZxyz(5.0309, 8.6087, 4.0853)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F2F #5F1A4A
analogous
#275F1A #1A5F2F #1A5F51
triadic
#1A5F2F #2F1A5F #5F2F1A
tetradic
#1A5F2F #1A275F #5F1A4A #5F511A
square
#1A5F2F #1A275F #5F1A4A #5F511A
split-complementary
#1A5F2F #511A5F #5F1A27
monochromatic
#07180C #0D2F17 #1A5F2F #278F47 #34BF5F

Accessibility & contrast

On white

7.72
#1A5F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1A5F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5F2F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F2F#FFFFFF#000000##FFFFFF
##1A5F2F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5f2f;
/* rgb */ color: rgb(26, 95, 47);
/* oklch */ color: oklch(43.0% 0.103 149.6);
Tailwind
colors: {
  custom: {
    50: '#618d68',
    500: '#1a5f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f2f;
$custom-light: #618d68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f2f",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 138.261,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.10318,
    "h": 149.6
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#1A5F2F
secondary
#95407B
accent
#48B2E0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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