#1C873C#1C873C

#1C873C is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.145 H 148.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#1C873C
RGBrgb(28, 135, 60)
HSLhsl(138, 66%, 32%)
HSVhsv(138, 79%, 53%)
CMYKcmyk(79.3%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.37, -46.08, 31.82)
CIE-LCHlch(49.37, 56.00, 145.37°)
OKLaboklab(54.82% -0.1238 0.0764)
OKLCHoklch(54.82% 0.145 148.3)
XYZxyz(9.9577, 17.8999, 7.2043)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C873C #871C67
analogous
#32871C #1C873C #1C8772
triadic
#1C873C #3C1C87 #873C1C
tetradic
#1C873C #1C3287 #871C67 #87721C
square
#1C873C #1C3287 #871C67 #87721C
split-complementary
#1C873C #721C87 #871C32
monochromatic
#07220F #115425 #1C873C #27BA53 #45D871

Accessibility & contrast

On white

4.58
#1C873C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #1C873C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C873C#FFFFFF#000000##000000
##1C873C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c873c;
/* rgb */ color: rgb(28, 135, 60);
/* oklch */ color: oklch(54.8% 0.145 148.3);
Tailwind
colors: {
  custom: {
    50: '#6bab74',
    500: '#1c873c',
    950: '#000000',
  },
}
SCSS
$custom: #1c873c;
$custom-light: #6bab74;
$custom-dark: #000000;
JSON
{
  "hex": "#1c873c",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 137.944,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.14549,
    "h": 148.3
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#1C873C
secondary
#BA4597
accent
#3FB6E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1C873C

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

Preview Lab → · Contrast checker → · Palette generator →

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