#1C8731#1C8731

#1C8731 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.155 H 145.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1C8731
RGBrgb(28, 135, 49)
HSLhsl(132, 66%, 32%)
HSVhsv(132, 79%, 53%)
CMYKcmyk(79.3%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.25, -47.61, 37.12)
CIE-LCHlch(49.25, 60.37, 142.06°)
OKLaboklab(54.67% -0.1283 0.087)
OKLCHoklch(54.67% 0.155 145.9)
XYZxyz(9.6965, 17.7954, 5.8290)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8731 #871C72
analogous
#3C871C #1C8731 #1C8767
triadic
#1C8731 #311C87 #87311C
tetradic
#1C8731 #1C3C87 #871C72 #87671C
square
#1C8731 #1C3C87 #871C72 #87671C
split-complementary
#1C8731 #671C87 #871C3C
monochromatic
#07220C #11541F #1C8731 #27BA43 #45D862

Accessibility & contrast

On white

4.61
#1C8731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#1C8731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8731
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8731#FFFFFF#000000##FFFFFF
##1C87311.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1c8731;
/* rgb */ color: rgb(28, 135, 49);
/* oklch */ color: oklch(54.7% 0.155 145.9);
Tailwind
colors: {
  custom: {
    50: '#6cab6c',
    500: '#1c8731',
    950: '#000000',
  },
}
SCSS
$custom: #1c8731;
$custom-light: #6cab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8731",
  "rgb": {
    "r": 28,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 131.776,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.15499,
    "h": 145.9
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#1C8731
secondary
#BA45A3
accent
#3FC7E9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1C8731

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

Preview Lab → · Contrast checker → · Palette generator →

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