#1A5F2C#1A5F2C

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

Color values

HEX#1A5F2C
RGBrgb(26, 95, 44)
HSLhsl(136, 57%, 24%)
HSVhsv(136, 73%, 37%)
CMYKcmyk(72.6%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.17, -33.57, 23.00)
CIE-LCHlch(35.17, 40.69, 145.58°)
OKLaboklab(42.99% -0.0905 0.0557)
OKLCHoklch(42.99% 0.106 148.4)
XYZxyz(4.9725, 8.5853, 3.7775)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F2C #5F1A4D
analogous
#2A5F1A #1A5F2C #1A5F4E
triadic
#1A5F2C #2C1A5F #5F2C1A
tetradic
#1A5F2C #1A2A5F #5F1A4D #5F4E1A
square
#1A5F2C #1A2A5F #5F1A4D #5F4E1A
split-complementary
#1A5F2C #4E1A5F #5F1A2A
monochromatic
#07180B #0D2F16 #1A5F2C #278F42 #34BF59

Accessibility & contrast

On white

7.73
#1A5F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A5F2C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F2C#FFFFFF#000000##FFFFFF
##1A5F2C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#585030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5f2c;
/* rgb */ color: rgb(26, 95, 44);
/* oklch */ color: oklch(43.0% 0.106 148.4);
Tailwind
colors: {
  custom: {
    50: '#618d66',
    500: '#1a5f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f2c;
$custom-light: #618d66;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f2c",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 135.652,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.10626,
    "h": 148.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#1A5F2C
secondary
#95407F
accent
#48B8E0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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