#1C8D1F#1C8D1F

#1C8D1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.174 H 143.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1C8D1F
RGBrgb(28, 141, 31)
HSLhsl(122, 67%, 33%)
HSVhsv(122, 80%, 55%)
CMYKcmyk(80.1%, 0%, 78%, 44.7%)
CIE-LABlab(51.15, -51.42, 46.62)
CIE-LCHlch(51.15, 69.41, 137.80°)
OKLaboklab(56.2% -0.1394 0.1048)
OKLCHoklch(56.2% 0.174 143.1)
XYZxyz(10.2504, 19.3943, 4.4993)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8D1F #8D1C8A
analogous
#518D1C #1C8D1F #1C8D57
triadic
#1C8D1F #1F1C8D #8D1F1C
tetradic
#1C8D1F #1C518D #8D1C8A #8D571C
square
#1C8D1F #1C518D #8D1C8A #8D571C
split-complementary
#1C8D1F #571C8D #8D1C51
monochromatic
#082709 #125A14 #1C8D1F #26C02A #49DB4C

Accessibility & contrast

On white

4.30
#1C8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1C8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8D1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8D1F#FFFFFF#000000##000000
##1C8D1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1c8d1f;
/* rgb */ color: rgb(28, 141, 31);
/* oklch */ color: oklch(56.2% 0.174 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf63',
    500: '#1c8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #1c8d1f;
$custom-light: #6eaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8d1f",
  "rgb": {
    "r": 28,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 121.593,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.17443,
    "h": 143.1
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#1C8D1F
secondary
#BD48BA
accent
#3EE5EA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1C8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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