#1A7843#1A7843

#1A7843 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.119 H 153.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1A7843
RGBrgb(26, 120, 67)
HSLhsl(146, 64%, 29%)
HSVhsv(146, 78%, 47%)
CMYKcmyk(78.3%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.31, -39.45, 21.67)
CIE-LCHlch(44.31, 45.01, 151.22°)
OKLaboklab(50.66% -0.1062 0.0536)
OKLCHoklch(50.66% 0.119 153.2)
XYZxyz(8.1549, 14.0568, 7.5926)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7843 #781A4F
analogous
#20781A #1A7843 #1A7872
triadic
#1A7843 #431A78 #78431A
tetradic
#1A7843 #1A2078 #781A4F #78721A
square
#1A7843 #1A2078 #781A4F #78721A
split-complementary
#1A7843 #721A78 #781A20
monochromatic
#05190E #0F4627 #1A7843 #25AA5F #38D47C

Accessibility & contrast

On white

5.51
#1A7843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A7843
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7843#FFFFFF#000000##FFFFFF
##1A78431.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a7843;
/* rgb */ color: rgb(26, 120, 67);
/* oklch */ color: oklch(50.7% 0.119 153.2);
Tailwind
colors: {
  custom: {
    50: '#67a078',
    500: '#1a7843',
    950: '#000000',
  },
}
SCSS
$custom: #1a7843;
$custom-light: #67a078;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7843",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 146.17,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.11897,
    "h": 153.2
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#1A7843
secondary
#AC417E
accent
#409FE7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1A7843

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

Preview Lab → · Contrast checker → · Palette generator →

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