#1A862A#1A862A

#1A862A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.160 H 144.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1A862A
RGBrgb(26, 134, 42)
HSLhsl(129, 68%, 31%)
HSVhsv(129, 81%, 53%)
CMYKcmyk(80.6%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.80, -48.37, 39.82)
CIE-LCHlch(48.80, 62.65, 140.54°)
OKLaboklab(54.27% -0.1305 0.092)
OKLCHoklch(54.27% 0.16 144.8)
XYZxyz(9.3684, 17.4359, 5.0618)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A862A #861A76
analogous
#40861A #1A862A #1A8660
triadic
#1A862A #2A1A86 #862A1A
tetradic
#1A862A #1A4086 #861A76 #86601A
square
#1A862A #1A4086 #861A76 #86601A
split-complementary
#1A862A #601A86 #861A40
monochromatic
#061F0A #10531A #1A862A #24B93A #40DA57

Accessibility & contrast

On white

4.68
#1A862A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1A862A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A862A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A862A#FFFFFF#000000##FFFFFF
##1A862A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a862a;
/* rgb */ color: rgb(26, 134, 42);
/* oklch */ color: oklch(54.3% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#6baa68',
    500: '#1a862a',
    950: '#000000',
  },
}
SCSS
$custom: #1a862a;
$custom-light: #6baa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1a862a",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 128.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.1597,
    "h": 144.8
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#1A862A
secondary
#B942A8
accent
#3DD1EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A862A

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

Preview Lab → · Contrast checker → · Palette generator →

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