#1C802A#1C802A

#1C802A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.152 H 144.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1C802A
RGBrgb(28, 128, 42)
HSLhsl(128, 64%, 31%)
HSVhsv(128, 78%, 50%)
CMYKcmyk(78.1%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.78, -46.00, 37.61)
CIE-LCHlch(46.78, 59.41, 140.73°)
OKLaboklab(52.6% -0.1242 0.0873)
OKLCHoklch(52.6% 0.152 144.9)
XYZxyz(8.6154, 15.8514, 4.7956)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C802A #801C72
analogous
#40801C #1C802A #1C805C
triadic
#1C802A #2A1C80 #802A1C
tetradic
#1C802A #1C4080 #801C72 #805C1C
square
#1C802A #1C4080 #801C72 #805C1C
split-complementary
#1C802A #5C1C80 #801C40
monochromatic
#061C09 #114E1A #1C802A #27B23A #41D556

Accessibility & contrast

On white

5.04
#1C802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1C802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C802A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C802A#FFFFFF#000000##FFFFFF
##1C802A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c802a;
/* rgb */ color: rgb(28, 128, 42);
/* oklch */ color: oklch(52.6% 0.152 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1c802a',
    950: '#000000',
  },
}
SCSS
$custom: #1c802a;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1c802a",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 128.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.15181,
    "h": 144.9
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#1C802A
secondary
#B344A4
accent
#41D0E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C802A

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

Preview Lab → · Contrast checker → · Palette generator →

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