#1C802B#1C802B

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

Color values

HEX#1C802B
RGBrgb(28, 128, 43)
HSLhsl(129, 64%, 31%)
HSVhsv(129, 78%, 50%)
CMYKcmyk(78.1%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.79, -45.88, 37.16)
CIE-LCHlch(46.79, 59.04, 140.99°)
OKLaboklab(52.61% -0.1238 0.0865)
OKLCHoklch(52.61% 0.151 145.1)
XYZxyz(8.6335, 15.8586, 4.8910)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C802B #801C71
analogous
#3F801C #1C802B #1C805D
triadic
#1C802B #2B1C80 #802B1C
tetradic
#1C802B #1C3F80 #801C71 #805D1C
square
#1C802B #1C3F80 #801C71 #805D1C
split-complementary
#1C802B #5D1C80 #801C3F
monochromatic
#061C09 #114E1A #1C802B #27B23C #41D557

Accessibility & contrast

On white

5.03
#1C802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C802B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C802B#FFFFFF#000000##FFFFFF
##1C802B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c802b;
/* rgb */ color: rgb(28, 128, 43);
/* oklch */ color: oklch(52.6% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1c802b',
    950: '#000000',
  },
}
SCSS
$custom: #1c802b;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1c802b",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 129,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.15103,
    "h": 145.1
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#1C802B
secondary
#B344A3
accent
#41CEE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C802B

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

Preview Lab → · Contrast checker → · Palette generator →

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