#1C9540#1C9540

#1C9540 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.160 H 148.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1C9540
RGBrgb(28, 149, 64)
HSLhsl(138, 68%, 35%)
HSVhsv(138, 81%, 58%)
CMYKcmyk(81.2%, 0%, 57%, 41.6%)
CIE-LABlab(54.14, -50.47, 35.54)
CIE-LCHlch(54.14, 61.72, 144.85°)
OKLaboklab(58.79% -0.1356 0.0848)
OKLCHoklch(58.79% 0.16 148)
XYZxyz(12.1508, 22.1105, 8.4769)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C9540 #951C71
analogous
#35951C #1C9540 #1C957D
triadic
#1C9540 #401C95 #95401C
tetradic
#1C9540 #1C3595 #951C71 #957D1C
square
#1C9540 #1C3595 #951C71 #957D1C
split-complementary
#1C9540 #7D1C95 #951C35
monochromatic
#092E14 #12612A #1C9540 #26C956 #4EDE79

Accessibility & contrast

On white

3.87
#1C9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#1C9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1C9540
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C9540#FFFFFF#000000##000000
##1C95401.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978738
Deuteranopia (green-blind)
#897E47
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1c9540;
/* rgb */ color: rgb(28, 149, 64);
/* oklch */ color: oklch(58.8% 0.160 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fb577',
    500: '#1c9540',
    950: '#000000',
  },
}
SCSS
$custom: #1c9540;
$custom-light: #6fb577;
$custom-dark: #000000;
JSON
{
  "hex": "#1c9540",
  "rgb": {
    "r": 28,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 137.851,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.15993,
    "h": 148
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#1C9540
secondary
#C04D9E
accent
#3DB7EB
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1C9540

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

Preview Lab → · Contrast checker → · Palette generator →

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