#1C8126#1C8126

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

Color values

HEX#1C8126
RGBrgb(28, 129, 38)
HSLhsl(126, 64%, 31%)
HSVhsv(126, 78%, 51%)
CMYKcmyk(78.3%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.09, -46.78, 39.72)
CIE-LCHlch(47.09, 61.37, 139.66°)
OKLaboklab(52.85% -0.1265 0.0913)
OKLCHoklch(52.85% 0.156 144.2)
XYZxyz(8.6784, 16.0863, 4.4809)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C8126 #811C77
analogous
#44811C #1C8126 #1C8158
triadic
#1C8126 #261C81 #81261C
tetradic
#1C8126 #1C4481 #811C77 #81581C
square
#1C8126 #1C4481 #811C77 #81581C
split-complementary
#1C8126 #581C81 #811C44
monochromatic
#061C08 #114F17 #1C8126 #27B335 #42D650

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C8126#FFFFFF#000000##FFFFFF
##1C81261.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)
#847419
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c8126;
/* rgb */ color: rgb(28, 129, 38);
/* oklch */ color: oklch(52.8% 0.156 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ba765',
    500: '#1c8126',
    950: '#000000',
  },
}
SCSS
$custom: #1c8126;
$custom-light: #6ba765;
$custom-dark: #000000;
JSON
{
  "hex": "#1c8126",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 125.941,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.15601,
    "h": 144.2
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#1C8126
secondary
#B444A9
accent
#40D7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C8126

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

Preview Lab → · Contrast checker → · Palette generator →

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