#1A862F#1A862F

#1A862F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.156 H 145.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1A862F
RGBrgb(26, 134, 47)
HSLhsl(132, 68%, 31%)
HSVhsv(132, 81%, 53%)
CMYKcmyk(80.6%, 0%, 64.9%, 47.5%)
CIE-LABlab(48.85, -47.79, 37.60)
CIE-LCHlch(48.85, 60.81, 141.80°)
OKLaboklab(54.33% -0.1288 0.0878)
OKLCHoklch(54.33% 0.156 145.7)
XYZxyz(9.4635, 17.4739, 5.5628)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A862F #861A71
analogous
#3B861A #1A862F #1A8665
triadic
#1A862F #2F1A86 #862F1A
tetradic
#1A862F #1A3B86 #861A71 #86651A
square
#1A862F #1A3B86 #861A71 #86651A
split-complementary
#1A862F #651A86 #861A3B
monochromatic
#061F0B #10531D #1A862F #24B941 #40DA5E

Accessibility & contrast

On white

4.67
#1A862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1A862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1A862F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A862F#FFFFFF#000000##FFFFFF
##1A862F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a862f;
/* rgb */ color: rgb(26, 134, 47);
/* oklch */ color: oklch(54.3% 0.156 145.7);
Tailwind
colors: {
  custom: {
    50: '#6baa6b',
    500: '#1a862f',
    950: '#000000',
  },
}
SCSS
$custom: #1a862f;
$custom-light: #6baa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a862f",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 131.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.15587,
    "h": 145.7
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#1A862F
secondary
#B942A2
accent
#3DC9EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1A862F

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

Preview Lab → · Contrast checker → · Palette generator →

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