#1C8B21#1C8B21

#1C8B21 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.171 H 143.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1C8B21
RGBrgb(28, 139, 33)
HSLhsl(123, 66%, 33%)
HSVhsv(123, 80%, 55%)
CMYKcmyk(79.9%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.48, -50.61, 45.24)
CIE-LCHlch(50.48, 67.88, 138.21°)
OKLaboklab(55.65% -0.1371 0.1022)
OKLCHoklch(55.65% 0.171 143.3)
XYZxyz(9.9854, 18.8207, 4.5451)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8B21 #8B1C86
analogous
#4E8B1C #1C8B21 #1C8B59
triadic
#1C8B21 #211C8B #8B211C
tetradic
#1C8B21 #1C4E8B #8B1C86 #8B591C
square
#1C8B21 #1C4E8B #8B1C86 #8B591C
split-complementary
#1C8B21 #591C8B #8B1C4E
monochromatic
#072509 #125815 #1C8B21 #26BE2D #47DA4E

Accessibility & contrast

On white

4.41
#1C8B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1C8B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8B21
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8B21#FFFFFF#000000##000000
##1C8B211.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1c8b21;
/* rgb */ color: rgb(28, 139, 33);
/* oklch */ color: oklch(55.6% 0.171 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eae64',
    500: '#1c8b21',
    950: '#000000',
  },
}
SCSS
$custom: #1c8b21;
$custom-light: #6eae64;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8b21",
  "rgb": {
    "r": 28,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 122.703,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.17102,
    "h": 143.3
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#1C8B21
secondary
#BC47B7
accent
#3EE2E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8B21

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

Preview Lab → · Contrast checker → · Palette generator →

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