#1A5E2F#1A5E2F

#1A5E2F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.102 H 149.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#1A5E2F
RGBrgb(26, 94, 47)
HSLhsl(139, 57%, 24%)
HSVhsv(139, 72%, 37%)
CMYKcmyk(72.3%, 0%, 50%, 63.1%)
CIE-LABlab(34.86, -32.62, 20.90)
CIE-LCHlch(34.86, 38.74, 147.35°)
OKLaboklab(42.74% -0.0879 0.0511)
OKLCHoklch(42.74% 0.102 149.8)
XYZxyz(4.9414, 8.4297, 4.0555)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5E2F #5E1A49
analogous
#275E1A #1A5E2F #1A5E51
triadic
#1A5E2F #2F1A5E #5E2F1A
tetradic
#1A5E2F #1A275E #5E1A49 #5E511A
square
#1A5E2F #1A275E #5E1A49 #5E511A
split-complementary
#1A5E2F #511A5E #5E1A27
monochromatic
#07180C #0D2E17 #1A5E2F #278E47 #35BE5F

Accessibility & contrast

On white

7.82
#1A5E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1A5E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5E2F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5E2F#FFFFFF#000000##FFFFFF
##1A5E2F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#565032
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a5e2f;
/* rgb */ color: rgb(26, 94, 47);
/* oklch */ color: oklch(42.7% 0.102 149.8);
Tailwind
colors: {
  custom: {
    50: '#618c68',
    500: '#1a5e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a5e2f;
$custom-light: #618c68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5e2f",
  "rgb": {
    "r": 26,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 138.529,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.1017,
    "h": 149.8
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#1A5E2F
secondary
#94407A
accent
#48B1E0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1A5E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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