#1C8F31#1C8F31

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

Color values

HEX#1C8F31
RGBrgb(28, 143, 49)
HSLhsl(131, 67%, 34%)
HSVhsv(131, 80%, 56%)
CMYKcmyk(80.4%, 0%, 65.7%, 43.9%)
CIE-LABlab(51.96, -50.36, 40.17)
CIE-LCHlch(51.96, 64.42, 141.42°)
OKLaboklab(56.93% -0.1358 0.0935)
OKLCHoklch(56.93% 0.165 145.4)
XYZxyz(10.8549, 20.1122, 6.2151)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8F31 #8F1C7A
analogous
#408F1C #1C8F31 #1C8F6A
triadic
#1C8F31 #311C8F #8F311C
tetradic
#1C8F31 #1C408F #8F1C7A #8F6A1C
square
#1C8F31 #1C408F #8F1C7A #8F6A1C
split-complementary
#1C8F31 #6A1C8F #8F1C40
monochromatic
#08290E #125C1F #1C8F31 #26C243 #4ADC64

Accessibility & contrast

On white

4.18
#1C8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#1C8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C8F31
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8F31#FFFFFF#000000##000000
##1C8F311.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1c8f31;
/* rgb */ color: rgb(28, 143, 49);
/* oklch */ color: oklch(56.9% 0.165 145.4);
Tailwind
colors: {
  custom: {
    50: '#6eb16d',
    500: '#1c8f31',
    950: '#000000',
  },
}
SCSS
$custom: #1c8f31;
$custom-light: #6eb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8f31",
  "rgb": {
    "r": 28,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 130.957,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.16484,
    "h": 145.4
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#1C8F31
secondary
#BE49A8
accent
#3ECBEA
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1C8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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