#1A7939#1A7939

#1A7939 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.130 H 149.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1A7939
RGBrgb(26, 121, 57)
HSLhsl(140, 65%, 29%)
HSVhsv(140, 79%, 47%)
CMYKcmyk(78.5%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.50, -41.65, 27.42)
CIE-LCHlch(44.50, 49.87, 146.64°)
OKLaboklab(50.76% -0.112 0.0664)
OKLCHoklch(50.76% 0.13 149.3)
XYZxyz(8.0012, 14.1888, 6.1871)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7939 #791A5A
analogous
#2B791A #1A7939 #1A7969
triadic
#1A7939 #391A79 #79391A
tetradic
#1A7939 #1A2B79 #791A5A #79691A
square
#1A7939 #1A2B79 #791A5A #79691A
split-complementary
#1A7939 #691A79 #791A2B
monochromatic
#05190C #0F4721 #1A7939 #25AB51 #39D46C

Accessibility & contrast

On white

5.47
#1A7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1A7939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7939
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7939#FFFFFF#000000##FFFFFF
##1A79391.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7939;
/* rgb */ color: rgb(26, 121, 57);
/* oklch */ color: oklch(50.8% 0.130 149.3);
Tailwind
colors: {
  custom: {
    50: '#67a171',
    500: '#1a7939',
    950: '#000000',
  },
}
SCSS
$custom: #1a7939;
$custom-light: #67a171;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7939",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 139.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.13016,
    "h": 149.3
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#1A7939
secondary
#AD418A
accent
#40B1E8
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7939

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

Preview Lab → · Contrast checker → · Palette generator →

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