#1C8128#1C8128

#1C8128 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.155 H 144.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1C8128
RGBrgb(28, 129, 40)
HSLhsl(127, 64%, 31%)
HSVhsv(127, 78%, 51%)
CMYKcmyk(78.3%, 0%, 69%, 49.4%)
CIE-LABlab(47.10, -46.57, 38.87)
CIE-LCHlch(47.10, 60.66, 140.15°)
OKLaboklab(52.87% -0.1258 0.0897)
OKLCHoklch(52.87% 0.155 144.5)
XYZxyz(8.7116, 16.0996, 4.6555)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8128 #811C75
analogous
#42811C #1C8128 #1C815A
triadic
#1C8128 #281C81 #81281C
tetradic
#1C8128 #1C4281 #811C75 #815A1C
square
#1C8128 #1C4281 #811C75 #815A1C
split-complementary
#1C8128 #5A1C81 #811C42
monochromatic
#061C09 #114F18 #1C8128 #27B338 #42D653

Accessibility & contrast

On white

4.98
#1C8128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1C8128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8128
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8128#FFFFFF#000000##FFFFFF
##1C81281.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c8128;
/* rgb */ color: rgb(28, 129, 40);
/* oklch */ color: oklch(52.9% 0.155 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ba766',
    500: '#1c8128',
    950: '#000000',
  },
}
SCSS
$custom: #1c8128;
$custom-light: #6ba766;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8128",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 127.129,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.15455,
    "h": 144.5
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#1C8128
secondary
#B444A7
accent
#40D4E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C8128

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

Preview Lab → · Contrast checker → · Palette generator →

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