#1A7A40#1A7A40

#1A7A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.125 H 151.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1A7A40
RGBrgb(26, 122, 64)
HSLhsl(144, 65%, 29%)
HSVhsv(144, 79%, 48%)
CMYKcmyk(78.7%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.95, -40.81, 24.17)
CIE-LCHlch(44.95, 47.43, 149.36°)
OKLaboklab(51.17% -0.1097 0.0593)
OKLCHoklch(51.17% 0.125 151.6)
XYZxyz(8.3102, 14.5079, 7.2118)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A40 #7A1A54
analogous
#247A1A #1A7A40 #1A7A70
triadic
#1A7A40 #401A7A #7A401A
tetradic
#1A7A40 #1A247A #7A1A54 #7A701A
square
#1A7A40 #1A247A #7A1A54 #7A701A
split-complementary
#1A7A40 #701A7A #7A1A24
monochromatic
#05190D #0F4826 #1A7A40 #25AC5A #39D577

Accessibility & contrast

On white

5.38
#1A7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1A7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A40
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A40#FFFFFF#000000##FFFFFF
##1A7A401.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a40;
/* rgb */ color: rgb(26, 122, 64);
/* oklch */ color: oklch(51.2% 0.125 151.6);
Tailwind
colors: {
  custom: {
    50: '#67a176',
    500: '#1a7a40',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a40;
$custom-light: #67a176;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a40",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 143.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.12473,
    "h": 151.6
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#1A7A40
secondary
#AE4183
accent
#40A5E8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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