#1C8B1F#1C8B1F

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

Color values

HEX#1C8B1F
RGBrgb(28, 139, 31)
HSLhsl(122, 66%, 33%)
HSVhsv(122, 80%, 55%)
CMYKcmyk(79.9%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.46, -50.77, 45.95)
CIE-LCHlch(50.46, 68.48, 137.85°)
OKLaboklab(55.64% -0.1377 0.1034)
OKLCHoklch(55.64% 0.172 143.1)
XYZxyz(9.9582, 18.8099, 4.4019)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8B1F #8B1C88
analogous
#508B1C #1C8B1F #1C8B57
triadic
#1C8B1F #1F1C8B #8B1F1C
tetradic
#1C8B1F #1C508B #8B1C88 #8B571C
square
#1C8B1F #1C508B #8B1C88 #8B571C
split-complementary
#1C8B1F #571C8B #8B1C50
monochromatic
#072508 #125814 #1C8B1F #26BE2A #47DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C8B1F#FFFFFF#000000##000000
##1C8B1F1.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)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1c8b1f;
/* rgb */ color: rgb(28, 139, 31);
/* oklch */ color: oklch(55.6% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eae63',
    500: '#1c8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #1c8b1f;
$custom-light: #6eae63;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8b1f",
  "rgb": {
    "r": 28,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 121.622,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.17217,
    "h": 143.1
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#1C8B1F
secondary
#BC47B9
accent
#3EE5E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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