#1A8540#1A8540

#1A8540 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.140 H 149.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1A8540
RGBrgb(26, 133, 64)
HSLhsl(141, 67%, 31%)
HSVhsv(141, 80%, 52%)
CMYKcmyk(80.5%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.72, -44.98, 28.91)
CIE-LCHlch(48.72, 53.47, 147.27°)
OKLaboklab(54.28% -0.1208 0.0701)
OKLCHoklch(54.28% 0.14 149.9)
XYZxyz(9.7381, 17.3637, 7.6878)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8540 #851A5F
analogous
#29851A #1A8540 #1A8575
triadic
#1A8540 #401A85 #85401A
tetradic
#1A8540 #1A2985 #851A5F #85751A
square
#1A8540 #1A2985 #851A5F #85751A
split-complementary
#1A8540 #751A85 #851A29
monochromatic
#061F0F #105227 #1A8540 #24B859 #40DA76

Accessibility & contrast

On white

4.69
#1A8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1A8540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8540
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8540#FFFFFF#000000##FFFFFF
##1A85401.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a8540;
/* rgb */ color: rgb(26, 133, 64);
/* oklch */ color: oklch(54.3% 0.140 149.9);
Tailwind
colors: {
  custom: {
    50: '#6aa976',
    500: '#1a8540',
    950: '#000000',
  },
}
SCSS
$custom: #1a8540;
$custom-light: #6aa976;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8540",
  "rgb": {
    "r": 26,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 141.308,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.13968,
    "h": 149.9
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#1A8540
secondary
#B8428F
accent
#3EADEA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1A8540

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

Preview Lab → · Contrast checker → · Palette generator →

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