#1A7841#1A7841

#1A7841 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.121 H 152.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1A7841
RGBrgb(26, 120, 65)
HSLhsl(145, 64%, 29%)
HSVhsv(145, 78%, 47%)
CMYKcmyk(78.3%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.28, -39.84, 22.75)
CIE-LCHlch(44.28, 45.87, 150.27°)
OKLaboklab(50.62% -0.1072 0.0561)
OKLCHoklch(50.62% 0.121 152.4)
XYZxyz(8.0959, 14.0333, 7.2820)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7841 #781A51
analogous
#22781A #1A7841 #1A7870
triadic
#1A7841 #411A78 #78411A
tetradic
#1A7841 #1A2278 #781A51 #78701A
square
#1A7841 #1A2278 #781A51 #78701A
split-complementary
#1A7841 #701A78 #781A22
monochromatic
#05190E #0F4626 #1A7841 #25AA5C #38D479

Accessibility & contrast

On white

5.52
#1A7841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1A7841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7841
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7841#FFFFFF#000000##FFFFFF
##1A78411.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#6D6645
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7841;
/* rgb */ color: rgb(26, 120, 65);
/* oklch */ color: oklch(50.6% 0.121 152.4);
Tailwind
colors: {
  custom: {
    50: '#67a076',
    500: '#1a7841',
    950: '#000000',
  },
}
SCSS
$custom: #1a7841;
$custom-light: #67a076;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7841",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 144.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.12096,
    "h": 152.4
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#1A7841
secondary
#AC4180
accent
#40A2E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1A7841

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

Preview Lab → · Contrast checker → · Palette generator →

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