#1C831C#1C831C

#1C831C is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.3% C 0.165 H 142.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1C831C
RGBrgb(28, 131, 28)
HSLhsl(120, 65%, 31%)
HSVhsv(120, 79%, 51%)
CMYKcmyk(78.6%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.70, -48.35, 44.30)
CIE-LCHlch(47.70, 65.58, 137.51°)
OKLaboklab(53.33% -0.1312 0.0995)
OKLCHoklch(53.33% 0.165 142.8)
XYZxyz(8.8042, 16.5623, 3.8312)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C831C #831C83
analogous
#4F831C #1C831C #1C834F
triadic
#1C831C #1C1C83 #831C1C
tetradic
#1C831C #1C4F83 #831C83 #834F1C
square
#1C831C #1C4F83 #831C83 #834F1C
split-complementary
#1C831C #4F1C83 #831C4F
monochromatic
#061E06 #115111 #1C831C #27B527 #43D743

Accessibility & contrast

On white

4.87
#1C831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1C831C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C831C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C831C#FFFFFF#000000##FFFFFF
##1C831C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1c831c;
/* rgb */ color: rgb(28, 131, 28);
/* oklch */ color: oklch(53.3% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca860',
    500: '#1c831c',
    950: '#000000',
  },
}
SCSS
$custom: #1c831c;
$custom-light: #6ca860;
$custom-dark: #000000;
JSON
{
  "hex": "#1c831c",
  "rgb": {
    "r": 28,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53334,
    "c": 0.16471,
    "h": 142.8
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#1C831C
secondary
#B645B6
accent
#40E8E8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C831C

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

Preview Lab → · Contrast checker → · Palette generator →

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