#1C8D21#1C8D21

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

Color values

HEX#1C8D21
RGBrgb(28, 141, 33)
HSLhsl(123, 67%, 33%)
HSVhsv(123, 80%, 55%)
CMYKcmyk(80.1%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.16, -51.27, 45.92)
CIE-LCHlch(51.16, 68.82, 138.15°)
OKLaboklab(56.22% -0.1389 0.1036)
OKLCHoklch(56.22% 0.173 143.3)
XYZxyz(10.2776, 19.4052, 4.6425)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8D21 #8D1C88
analogous
#4F8D1C #1C8D21 #1C8D59
triadic
#1C8D21 #211C8D #8D211C
tetradic
#1C8D21 #1C4F8D #8D1C88 #8D591C
square
#1C8D21 #1C4F8D #8D1C88 #8D591C
split-complementary
#1C8D21 #591C8D #8D1C4F
monochromatic
#082709 #125A15 #1C8D21 #26C02D #49DB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C8D21#FFFFFF#000000##000000
##1C8D211.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)
#907F0A
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1c8d21;
/* rgb */ color: rgb(28, 141, 33);
/* oklch */ color: oklch(56.2% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf64',
    500: '#1c8d21',
    950: '#000000',
  },
}
SCSS
$custom: #1c8d21;
$custom-light: #6eaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8d21",
  "rgb": {
    "r": 28,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 122.655,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.17331,
    "h": 143.3
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#1C8D21
secondary
#BD48B8
accent
#3EE2EA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1C8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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