#1A7834#1A7834

#1A7834 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.134 H 148.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1A7834
RGBrgb(26, 120, 52)
HSLhsl(137, 64%, 29%)
HSVhsv(137, 78%, 47%)
CMYKcmyk(78.3%, 0%, 56.7%, 52.9%)
CIE-LABlab(44.09, -42.08, 29.57)
CIE-LCHlch(44.09, 51.43, 144.90°)
OKLaboklab(50.4% -0.1132 0.0709)
OKLCHoklch(50.4% 0.134 148)
XYZxyz(7.7617, 13.8996, 5.5220)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7834 #781A5E
analogous
#2F781A #1A7834 #1A7863
triadic
#1A7834 #341A78 #78341A
tetradic
#1A7834 #1A2F78 #781A5E #78631A
square
#1A7834 #1A2F78 #781A5E #78631A
split-complementary
#1A7834 #631A78 #781A2F
monochromatic
#05190B #0F461E #1A7834 #25AA4A #38D463

Accessibility & contrast

On white

5.56
#1A7834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1A7834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7834
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7834#FFFFFF#000000##FFFFFF
##1A78341.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2E
Deuteranopia (green-blind)
#6F6539
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a7834;
/* rgb */ color: rgb(26, 120, 52);
/* oklch */ color: oklch(50.4% 0.134 148.0);
Tailwind
colors: {
  custom: {
    50: '#67a06d',
    500: '#1a7834',
    950: '#000000',
  },
}
SCSS
$custom: #1a7834;
$custom-light: #67a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7834",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 52
  },
  "hsl": {
    "h": 136.596,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.13352,
    "h": 148
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#1A7834
secondary
#AC418F
accent
#40B9E7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #1A7834

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

Preview Lab → · Contrast checker → · Palette generator →

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