#1C781A#1C781A

#1C781A is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.153 H 142.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1C781A
RGBrgb(28, 120, 26)
HSLhsl(119, 64%, 29%)
HSVhsv(119, 78%, 47%)
CMYKcmyk(76.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.88, -44.77, 41.24)
CIE-LCHlch(43.88, 60.87, 137.35°)
OKLaboklab(50.15% -0.1216 0.0929)
OKLCHoklch(50.15% 0.153 142.6)
XYZxyz(7.3814, 13.7536, 3.2428)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C781A #761A78
analogous
#4B781A #1C781A #1A7847
triadic
#1C781A #1A1C78 #781A1C
tetradic
#1C781A #1A4B78 #761A78 #78471A
square
#1C781A #1A4B78 #761A78 #78471A
split-complementary
#1C781A #471A78 #781A4B
monochromatic
#061905 #10460F #1C781A #28AA25 #3CD438

Accessibility & contrast

On white

5.60
#1C781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1C781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C781A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C781A#FFFFFF#000000##FFFFFF
##1C781A1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c781a;
/* rgb */ color: rgb(28, 120, 26);
/* oklch */ color: oklch(50.2% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a05e',
    500: '#1c781a',
    950: '#000000',
  },
}
SCSS
$custom: #1c781a;
$custom-light: #69a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c781a",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 118.723,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.15303,
    "h": 142.6
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#1C781A
secondary
#AA41AC
accent
#40E7E4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1C781A

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

Preview Lab → · Contrast checker → · Palette generator →

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