#1A7D40#1A7D40

#1A7D40 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.129 H 151.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1A7D40
RGBrgb(26, 125, 64)
HSLhsl(143, 66%, 30%)
HSVhsv(143, 79%, 49%)
CMYKcmyk(79.2%, 0%, 48.8%, 51%)
CIE-LABlab(45.98, -41.97, 25.48)
CIE-LCHlch(45.98, 49.10, 148.73°)
OKLaboklab(52.02% -0.1128 0.0623)
OKLCHoklch(52.02% 0.129 151.1)
XYZxyz(8.6843, 15.2560, 7.3365)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D40 #7D1A57
analogous
#267D1A #1A7D40 #1A7D72
triadic
#1A7D40 #401A7D #7D401A
tetradic
#1A7D40 #1A267D #7D1A57 #7D721A
square
#1A7D40 #1A267D #7D1A57 #7D721A
split-complementary
#1A7D40 #721A7D #7D1A26
monochromatic
#05190D #0F4A26 #1A7D40 #25B05A #3BD677

Accessibility & contrast

On white

5.18
#1A7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1A7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D40
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D40#FFFFFF#000000##FFFFFF
##1A7D401.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7d40;
/* rgb */ color: rgb(26, 125, 64);
/* oklch */ color: oklch(52.0% 0.129 151.1);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#1a7d40',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d40",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 143.03,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.12887,
    "h": 151.1
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#1A7D40
secondary
#B14286
accent
#3FA8E9
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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