#1C802F#1C802F

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

Color values

HEX#1C802F
RGBrgb(28, 128, 47)
HSLhsl(131, 64%, 31%)
HSVhsv(131, 78%, 50%)
CMYKcmyk(78.1%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.83, -45.39, 35.32)
CIE-LCHlch(46.83, 57.51, 142.11°)
OKLaboklab(52.66% -0.1223 0.0829)
OKLCHoklch(52.66% 0.148 145.9)
XYZxyz(8.7105, 15.8894, 5.2967)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C802F #801C6D
analogous
#3B801C #1C802F #1C8061
triadic
#1C802F #2F1C80 #802F1C
tetradic
#1C802F #1C3B80 #801C6D #80611C
square
#1C802F #1C3B80 #801C6D #80611C
split-complementary
#1C802F #611C80 #801C3B
monochromatic
#061C0A #114E1D #1C802F #27B241 #41D55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C802F#FFFFFF#000000##FFFFFF
##1C802F1.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)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c802f;
/* rgb */ color: rgb(28, 128, 47);
/* oklch */ color: oklch(52.7% 0.148 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa66b',
    500: '#1c802f',
    950: '#000000',
  },
}
SCSS
$custom: #1c802f;
$custom-light: #6aa66b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c802f",
  "rgb": {
    "r": 28,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 131.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.1478,
    "h": 145.9
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#1C802F
secondary
#B3449E
accent
#41C7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C802F

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

Preview Lab → · Contrast checker → · Palette generator →

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