#1A862B#1A862B

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

Color values

HEX#1A862B
RGBrgb(26, 134, 43)
HSLhsl(129, 68%, 31%)
HSVhsv(129, 81%, 53%)
CMYKcmyk(80.6%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.81, -48.26, 39.38)
CIE-LCHlch(48.81, 62.29, 140.78°)
OKLaboklab(54.28% -0.1302 0.0912)
OKLCHoklch(54.28% 0.159 145)
XYZxyz(9.3865, 17.4431, 5.1572)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A862B #861A75
analogous
#3F861A #1A862B #1A8661
triadic
#1A862B #2B1A86 #862B1A
tetradic
#1A862B #1A3F86 #861A75 #86611A
square
#1A862B #1A3F86 #861A75 #86611A
split-complementary
#1A862B #611A86 #861A3F
monochromatic
#061F0A #10531B #1A862B #24B93B #40DA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A862B#FFFFFF#000000##FFFFFF
##1A862B1.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)
#88791F
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a862b;
/* rgb */ color: rgb(26, 134, 43);
/* oklch */ color: oklch(54.3% 0.159 145.0);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#1a862b',
    950: '#000000',
  },
}
SCSS
$custom: #1a862b;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#1a862b",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 129.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.15896,
    "h": 145
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#1A862B
secondary
#B942A7
accent
#3DCFEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A862B

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

Preview Lab → · Contrast checker → · Palette generator →

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