#1C873B#1C873B

#1C873B is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.146 H 148.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1C873B
RGBrgb(28, 135, 59)
HSLhsl(137, 66%, 32%)
HSVhsv(137, 79%, 53%)
CMYKcmyk(79.3%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.36, -46.23, 32.32)
CIE-LCHlch(49.36, 56.41, 145.04°)
OKLaboklab(54.8% -0.1243 0.0774)
OKLCHoklch(54.8% 0.146 148.1)
XYZxyz(9.9315, 17.8894, 7.0664)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C873B #871C68
analogous
#33871C #1C873B #1C8771
triadic
#1C873B #3B1C87 #873B1C
tetradic
#1C873B #1C3387 #871C68 #87711C
square
#1C873B #1C3387 #871C68 #87711C
split-complementary
#1C873B #711C87 #871C33
monochromatic
#07220F #115425 #1C873B #27BA51 #45D870

Accessibility & contrast

On white

4.59
#1C873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1C873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1C873B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C873B#FFFFFF#000000##FFFFFF
##1C873B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A34
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1c873b;
/* rgb */ color: rgb(28, 135, 59);
/* oklch */ color: oklch(54.8% 0.146 148.1);
Tailwind
colors: {
  custom: {
    50: '#6bab73',
    500: '#1c873b',
    950: '#000000',
  },
}
SCSS
$custom: #1c873b;
$custom-light: #6bab73;
$custom-dark: #000000;
JSON
{
  "hex": "#1c873b",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 137.383,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.1464,
    "h": 148.1
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#1C873B
secondary
#BA4598
accent
#3FB8E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1C873B

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

Preview Lab → · Contrast checker → · Palette generator →

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