#1C802D#1C802D

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

Color values

HEX#1C802D
RGBrgb(28, 128, 45)
HSLhsl(130, 64%, 31%)
HSVhsv(130, 78%, 50%)
CMYKcmyk(78.1%, 0%, 64.8%, 49.8%)
CIE-LABlab(46.81, -45.64, 36.25)
CIE-LCHlch(46.81, 58.28, 141.54°)
OKLaboklab(52.64% -0.1231 0.0847)
OKLCHoklch(52.64% 0.149 145.5)
XYZxyz(8.6711, 15.8737, 5.0890)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C802D #801C6F
analogous
#3D801C #1C802D #1C805F
triadic
#1C802D #2D1C80 #802D1C
tetradic
#1C802D #1C3D80 #801C6F #805F1C
square
#1C802D #1C3D80 #801C6F #805F1C
split-complementary
#1C802D #5F1C80 #801C3D
monochromatic
#061C0A #114E1B #1C802D #27B23F #41D55A

Accessibility & contrast

On white

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

On black

4.18
#1C802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C802D#FFFFFF#000000##FFFFFF
##1C802D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c802d;
/* rgb */ color: rgb(28, 128, 45);
/* oklch */ color: oklch(52.6% 0.149 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa669',
    500: '#1c802d',
    950: '#000000',
  },
}
SCSS
$custom: #1c802d;
$custom-light: #6aa669;
$custom-dark: #000000;
JSON
{
  "hex": "#1c802d",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 130.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.14944,
    "h": 145.5
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#1C802D
secondary
#B344A1
accent
#41CBE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C802D

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

Preview Lab → · Contrast checker → · Palette generator →

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