#1C781B#1C781B

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

Color values

HEX#1C781B
RGBrgb(28, 120, 27)
HSLhsl(119, 63%, 29%)
HSVhsv(119, 78%, 47%)
CMYKcmyk(76.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(43.88, -44.69, 40.87)
CIE-LCHlch(43.88, 60.56, 137.55°)
OKLaboklab(50.16% -0.1214 0.0922)
OKLCHoklch(50.16% 0.152 142.8)
XYZxyz(7.3927, 13.7581, 3.3027)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C781B #771B78
analogous
#4B781B #1C781B #1B7849
triadic
#1C781B #1B1C78 #781B1C
tetradic
#1C781B #1B4B78 #771B78 #78491B
square
#1C781B #1B4B78 #771B78 #78491B
split-complementary
#1C781B #491B78 #781B4B
monochromatic
#061906 #104610 #1C781B #28AA26 #3CD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C781B#FFFFFF#000000##FFFFFF
##1C781B1.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)
#7B6C08
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c781b;
/* rgb */ color: rgb(28, 120, 27);
/* oklch */ color: oklch(50.2% 0.152 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a05e',
    500: '#1c781b',
    950: '#000000',
  },
}
SCSS
$custom: #1c781b;
$custom-light: #69a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c781b",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 119.355,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.15244,
    "h": 142.8
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#1C781B
secondary
#AB43AC
accent
#41E6E5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1C781B

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

Preview Lab → · Contrast checker → · Palette generator →

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