#1C862A#1C862A

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

Color values

HEX#1C862A
RGBrgb(28, 134, 42)
HSLhsl(128, 65%, 32%)
HSVhsv(128, 79%, 53%)
CMYKcmyk(79.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.84, -48.08, 39.87)
CIE-LCHlch(48.84, 62.45, 140.33°)
OKLaboklab(54.31% -0.1298 0.0921)
OKLCHoklch(54.31% 0.159 144.7)
XYZxyz(9.4213, 17.4631, 5.0642)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C862A #861C78
analogous
#43861C #1C862A #1C865F
triadic
#1C862A #2A1C86 #862A1C
tetradic
#1C862A #1C4386 #861C78 #865F1C
square
#1C862A #1C4386 #861C78 #865F1C
split-complementary
#1C862A #5F1C86 #861C43
monochromatic
#07210A #11531A #1C862A #27B93A #44D858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C862A#FFFFFF#000000##FFFFFF
##1C862A1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.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: #1c862a;
/* rgb */ color: rgb(28, 134, 42);
/* oklch */ color: oklch(54.3% 0.159 144.7);
Tailwind
colors: {
  custom: {
    50: '#6caa68',
    500: '#1c862a',
    950: '#000000',
  },
}
SCSS
$custom: #1c862a;
$custom-light: #6caa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1c862a",
  "rgb": {
    "r": 28,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 127.925,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.15918,
    "h": 144.7
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#1C862A
secondary
#B945AA
accent
#3FD2E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C862A

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

Preview Lab → · Contrast checker → · Palette generator →

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