#1A862D#1A862D

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

Color values

HEX#1A862D
RGBrgb(26, 134, 45)
HSLhsl(131, 68%, 31%)
HSVhsv(131, 81%, 53%)
CMYKcmyk(80.6%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.83, -48.03, 38.50)
CIE-LCHlch(48.83, 61.56, 141.28°)
OKLaboklab(54.31% -0.1295 0.0895)
OKLCHoklch(54.31% 0.157 145.3)
XYZxyz(9.4241, 17.4581, 5.3552)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A862D #861A73
analogous
#3D861A #1A862D #1A8663
triadic
#1A862D #2D1A86 #862D1A
tetradic
#1A862D #1A3D86 #861A73 #86631A
square
#1A862D #1A3D86 #861A73 #86631A
split-complementary
#1A862D #631A86 #861A3D
monochromatic
#061F0B #10531C #1A862D #24B93E #40DA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A862D#FFFFFF#000000##FFFFFF
##1A862D1.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)
#887922
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1a862d;
/* rgb */ color: rgb(26, 134, 45);
/* oklch */ color: oklch(54.3% 0.157 145.3);
Tailwind
colors: {
  custom: {
    50: '#6baa6a',
    500: '#1a862d',
    950: '#000000',
  },
}
SCSS
$custom: #1a862d;
$custom-light: #6baa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a862d",
  "rgb": {
    "r": 26,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 130.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.15744,
    "h": 145.3
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#1A862D
secondary
#B942A4
accent
#3DCCEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1A862D

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

Preview Lab → · Contrast checker → · Palette generator →

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