#1C8F2A#1C8F2A

#1C8F2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.170 H 144.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1C8F2A
RGBrgb(28, 143, 42)
HSLhsl(127, 67%, 34%)
HSVhsv(127, 80%, 56%)
CMYKcmyk(80.4%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.90, -51.12, 43.16)
CIE-LCHlch(51.90, 66.90, 139.83°)
OKLaboklab(56.86% -0.1381 0.099)
OKLCHoklch(56.86% 0.17 144.4)
XYZxyz(10.7185, 20.0577, 5.4967)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F2A #8F1C81
analogous
#478F1C #1C8F2A #1C8F63
triadic
#1C8F2A #2A1C8F #8F2A1C
tetradic
#1C8F2A #1C478F #8F1C81 #8F631C
square
#1C8F2A #1C478F #8F1C81 #8F631C
split-complementary
#1C8F2A #631C8F #8F1C47
monochromatic
#08290C #125C1B #1C8F2A #26C239 #4ADC5C

Accessibility & contrast

On white

4.19
#1C8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1C8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F2A#FFFFFF#000000##000000
##1C8F2A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f2a;
/* rgb */ color: rgb(28, 143, 42);
/* oklch */ color: oklch(56.9% 0.170 144.4);
Tailwind
colors: {
  custom: {
    50: '#6eb169',
    500: '#1c8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f2a;
$custom-light: #6eb169;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f2a",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 127.304,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.16993,
    "h": 144.4
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#1C8F2A
secondary
#BE49AF
accent
#3ED5EA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1C8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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