#1A7945#1A7945

#1A7945 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.118 H 153.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1A7945
RGBrgb(26, 121, 69)
HSLhsl(147, 65%, 29%)
HSVhsv(147, 79%, 47%)
CMYKcmyk(78.5%, 0%, 43%, 52.5%)
CIE-LABlab(44.69, -39.45, 21.04)
CIE-LCHlch(44.69, 44.71, 151.93°)
OKLaboklab(50.98% -0.1062 0.0522)
OKLCHoklch(50.98% 0.118 153.8)
XYZxyz(8.3368, 14.3230, 7.9543)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7945 #791A4E
analogous
#1F791A #1A7945 #1A7975
triadic
#1A7945 #451A79 #79451A
tetradic
#1A7945 #1A1F79 #791A4E #79751A
square
#1A7945 #1A1F79 #791A4E #79751A
split-complementary
#1A7945 #751A79 #791A1F
monochromatic
#05190E #0F4728 #1A7945 #25AB62 #39D47F

Accessibility & contrast

On white

5.43
#1A7945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1A7945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7945
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7945#FFFFFF#000000##FFFFFF
##1A79451.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E41
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7945;
/* rgb */ color: rgb(26, 121, 69);
/* oklch */ color: oklch(51.0% 0.118 153.8);
Tailwind
colors: {
  custom: {
    50: '#67a179',
    500: '#1a7945',
    950: '#000000',
  },
}
SCSS
$custom: #1a7945;
$custom-light: #67a179;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7945",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 147.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.11838,
    "h": 153.8
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#1A7945
secondary
#AD417D
accent
#409CE8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7945

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

Preview Lab → · Contrast checker → · Palette generator →

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