#1C8127#1C8127

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

Color values

HEX#1C8127
RGBrgb(28, 129, 39)
HSLhsl(127, 64%, 31%)
HSVhsv(127, 78%, 51%)
CMYKcmyk(78.3%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.10, -46.68, 39.30)
CIE-LCHlch(47.10, 61.01, 139.91°)
OKLaboklab(52.86% -0.1262 0.0905)
OKLCHoklch(52.86% 0.155 144.3)
XYZxyz(8.6948, 16.0929, 4.5671)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8127 #811C76
analogous
#43811C #1C8127 #1C8159
triadic
#1C8127 #271C81 #81271C
tetradic
#1C8127 #1C4381 #811C76 #81591C
square
#1C8127 #1C4381 #811C76 #81591C
split-complementary
#1C8127 #591C81 #811C43
monochromatic
#061C09 #114F18 #1C8127 #27B336 #42D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C8127#FFFFFF#000000##FFFFFF
##1C81271.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)
#83741B
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c8127;
/* rgb */ color: rgb(28, 129, 39);
/* oklch */ color: oklch(52.9% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba766',
    500: '#1c8127',
    950: '#000000',
  },
}
SCSS
$custom: #1c8127;
$custom-light: #6ba766;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8127",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 126.535,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.15528,
    "h": 144.3
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#1C8127
secondary
#B444A8
accent
#40D5E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C8127

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

Preview Lab → · Contrast checker → · Palette generator →

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