#1A7040#1A7040

#1A7040 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.111 H 153.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1A7040
RGBrgb(26, 112, 64)
HSLhsl(147, 62%, 27%)
HSVhsv(147, 77%, 44%)
CMYKcmyk(76.8%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.50, -36.81, 19.69)
CIE-LCHlch(41.50, 41.75, 151.86°)
OKLaboklab(48.31% -0.0992 0.0489)
OKLCHoklch(48.31% 0.111 153.8)
XYZxyz(7.1449, 12.1773, 6.8234)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7040 #701A4A
analogous
#1F701A #1A7040 #1A706B
triadic
#1A7040 #401A70 #70401A
tetradic
#1A7040 #1A1F70 #701A4A #706B1A
square
#1A7040 #1A1F70 #701A4A #706B1A
split-complementary
#1A7040 #6B1A70 #701A1F
monochromatic
#06190E #0E3E24 #1A7040 #26A25C #34D079

Accessibility & contrast

On white

6.11
#1A7040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1A7040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7040
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7040#FFFFFF#000000##FFFFFF
##1A70401.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1a7040;
/* rgb */ color: rgb(26, 112, 64);
/* oklch */ color: oklch(48.3% 0.111 153.8);
Tailwind
colors: {
  custom: {
    50: '#659a75',
    500: '#1a7040',
    950: '#000000',
  },
}
SCSS
$custom: #1a7040;
$custom-light: #659a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7040",
  "rgb": {
    "r": 26,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 146.512,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.11062,
    "h": 153.8
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#1A7040
secondary
#A54179
accent
#429DE5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1A7040

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

Preview Lab → · Contrast checker → · Palette generator →

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