#1A7840#1A7840

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

Color values

HEX#1A7840
RGBrgb(26, 120, 64)
HSLhsl(144, 64%, 29%)
HSVhsv(144, 78%, 47%)
CMYKcmyk(78.3%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.26, -40.02, 23.29)
CIE-LCHlch(44.26, 46.31, 149.81°)
OKLaboklab(50.6% -0.1076 0.0573)
OKLCHoklch(50.6% 0.122 152)
XYZxyz(8.0672, 14.0218, 7.1308)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7840 #781A52
analogous
#23781A #1A7840 #1A786F
triadic
#1A7840 #401A78 #78401A
tetradic
#1A7840 #1A2378 #781A52 #786F1A
square
#1A7840 #1A2378 #781A52 #786F1A
split-complementary
#1A7840 #6F1A78 #781A23
monochromatic
#05190D #0F4625 #1A7840 #25AA5B #38D477

Accessibility & contrast

On white

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

On black

3.80
#1A7840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A7840#FFFFFF#000000##FFFFFF
##1A78401.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6644
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7840;
/* rgb */ color: rgb(26, 120, 64);
/* oklch */ color: oklch(50.6% 0.122 152.0);
Tailwind
colors: {
  custom: {
    50: '#67a075',
    500: '#1a7840',
    950: '#000000',
  },
}
SCSS
$custom: #1a7840;
$custom-light: #67a075;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7840",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 144.255,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.12195,
    "h": 152
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#1A7840
secondary
#AC4181
accent
#40A4E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1A7840

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

Preview Lab → · Contrast checker → · Palette generator →

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