#1C8125#1C8125

#1C8125 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.157 H 144.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1C8125
RGBrgb(28, 129, 37)
HSLhsl(125, 64%, 31%)
HSVhsv(125, 78%, 51%)
CMYKcmyk(78.3%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.08, -46.88, 40.14)
CIE-LCHlch(47.08, 61.72, 139.43°)
OKLaboklab(52.84% -0.1268 0.0921)
OKLCHoklch(52.84% 0.157 144)
XYZxyz(8.6625, 16.0800, 4.3971)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8125 #811C78
analogous
#45811C #1C8125 #1C8157
triadic
#1C8125 #251C81 #81251C
tetradic
#1C8125 #1C4581 #811C78 #81571C
square
#1C8125 #1C4581 #811C78 #81571C
split-complementary
#1C8125 #571C81 #811C45
monochromatic
#061C08 #114F17 #1C8125 #27B333 #42D64F

Accessibility & contrast

On white

4.98
#1C8125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1C8125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C8125
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C8125#FFFFFF#000000##FFFFFF
##1C81251.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847418
Deuteranopia (green-blind)
#786D2E
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c8125;
/* rgb */ color: rgb(28, 129, 37);
/* oklch */ color: oklch(52.8% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ba765',
    500: '#1c8125',
    950: '#000000',
  },
}
SCSS
$custom: #1c8125;
$custom-light: #6ba765;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8125",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 125.347,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.15671,
    "h": 144
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#1C8125
secondary
#B444AA
accent
#40D8E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C8125

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

Preview Lab → · Contrast checker → · Palette generator →

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