#1A8940#1A8940

#1A8940 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.145 H 149.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1A8940
RGBrgb(26, 137, 64)
HSLhsl(141, 68%, 32%)
HSVhsv(141, 81%, 54%)
CMYKcmyk(81%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.07, -46.45, 30.59)
CIE-LCHlch(50.07, 55.62, 146.63°)
OKLaboklab(55.41% -0.1247 0.0739)
OKLCHoklch(55.41% 0.145 149.4)
XYZxyz(10.2962, 18.4798, 7.8738)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8940 #891A63
analogous
#2B891A #1A8940 #1A8978
triadic
#1A8940 #401A89 #89401A
tetradic
#1A8940 #1A2B89 #891A63 #89781A
square
#1A8940 #1A2B89 #891A63 #89781A
split-complementary
#1A8940 #781A89 #891A2B
monochromatic
#062210 #105628 #1A8940 #24BC58 #42DB77

Accessibility & contrast

On white

4.47
#1A8940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1A8940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8940
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8940#FFFFFF#000000##000000
##1A89401.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8940;
/* rgb */ color: rgb(26, 137, 64);
/* oklch */ color: oklch(55.4% 0.145 149.4);
Tailwind
colors: {
  custom: {
    50: '#6bac76',
    500: '#1a8940',
    950: '#000000',
  },
}
SCSS
$custom: #1a8940;
$custom-light: #6bac76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8940",
  "rgb": {
    "r": 26,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 140.541,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.14497,
    "h": 149.4
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#1A8940
secondary
#BC4393
accent
#3DAFEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1A8940

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

Preview Lab → · Contrast checker → · Palette generator →

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