#1A7947#1A7947

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

Color values

HEX#1A7947
RGBrgb(26, 121, 71)
HSLhsl(148, 65%, 29%)
HSVhsv(148, 79%, 47%)
CMYKcmyk(78.5%, 0%, 41.3%, 52.5%)
CIE-LABlab(44.73, -39.05, 19.95)
CIE-LCHlch(44.73, 43.85, 152.94°)
OKLaboklab(51.02% -0.1053 0.0497)
OKLCHoklch(51.02% 0.116 154.7)
XYZxyz(8.3999, 14.3483, 8.2868)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7947 #791A4C
analogous
#1D791A #1A7947 #1A7977
triadic
#1A7947 #471A79 #79471A
tetradic
#1A7947 #1A1D79 #791A4C #79771A
square
#1A7947 #1A1D79 #791A4C #79771A
split-complementary
#1A7947 #771A79 #791A1D
monochromatic
#05190F #0F4729 #1A7947 #25AB65 #39D483

Accessibility & contrast

On white

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

On black

3.87
#1A7947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A7947#FFFFFF#000000##FFFFFF
##1A79471.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6D674A
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7947;
/* rgb */ color: rgb(26, 121, 71);
/* oklch */ color: oklch(51.0% 0.116 154.7);
Tailwind
colors: {
  custom: {
    50: '#67a17a',
    500: '#1a7947',
    950: '#000000',
  },
}
SCSS
$custom: #1a7947;
$custom-light: #67a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7947",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 148.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.1164,
    "h": 154.7
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#1A7947
secondary
#AD417A
accent
#4098E8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7947

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

Preview Lab → · Contrast checker → · Palette generator →

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