#1A862C#1A862C

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

Color values

HEX#1A862C
RGBrgb(26, 134, 44)
HSLhsl(130, 68%, 31%)
HSVhsv(130, 81%, 53%)
CMYKcmyk(80.6%, 0%, 67.2%, 47.5%)
CIE-LABlab(48.82, -48.14, 38.95)
CIE-LCHlch(48.82, 61.92, 141.03°)
OKLaboklab(54.29% -0.1298 0.0904)
OKLCHoklch(54.29% 0.158 145.2)
XYZxyz(9.4051, 17.4505, 5.2550)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A862C #861A74
analogous
#3E861A #1A862C #1A8662
triadic
#1A862C #2C1A86 #862C1A
tetradic
#1A862C #1A3E86 #861A74 #86621A
square
#1A862C #1A3E86 #861A74 #86621A
split-complementary
#1A862C #621A86 #861A3E
monochromatic
#061F0A #10531B #1A862C #24B93D #40DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A862C#FFFFFF#000000##FFFFFF
##1A862C1.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)
#887921
Deuteranopia (green-blind)
#7C7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a862c;
/* rgb */ color: rgb(26, 134, 44);
/* oklch */ color: oklch(54.3% 0.158 145.2);
Tailwind
colors: {
  custom: {
    50: '#6baa69',
    500: '#1a862c',
    950: '#000000',
  },
}
SCSS
$custom: #1a862c;
$custom-light: #6baa69;
$custom-dark: #000000;
JSON
{
  "hex": "#1a862c",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 130,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.1582,
    "h": 145.2
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#1A862C
secondary
#B942A6
accent
#3DCEEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A862C

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

Preview Lab → · Contrast checker → · Palette generator →

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