#1C821C#1C821C

#1C821C is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.164 H 142.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1C821C
RGBrgb(28, 130, 28)
HSLhsl(120, 65%, 31%)
HSVhsv(120, 78%, 51%)
CMYKcmyk(78.5%, 0%, 78.5%, 49%)
CIE-LABlab(47.36, -48.02, 43.96)
CIE-LCHlch(47.36, 65.10, 137.53°)
OKLaboklab(53.05% -0.1303 0.0988)
OKLCHoklch(53.05% 0.164 142.8)
XYZxyz(8.6706, 16.2950, 3.7867)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C821C #821C82
analogous
#4F821C #1C821C #1C824F
triadic
#1C821C #1C1C82 #821C1C
tetradic
#1C821C #1C4F82 #821C82 #824F1C
square
#1C821C #1C4F82 #821C82 #824F1C
split-complementary
#1C821C #4F1C82 #821C4F
monochromatic
#061D06 #115011 #1C821C #27B427 #42D642

Accessibility & contrast

On white

4.93
#1C821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1C821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C821C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C821C#FFFFFF#000000##FFFFFF
##1C821C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c821c;
/* rgb */ color: rgb(28, 130, 28);
/* oklch */ color: oklch(53.0% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ba760',
    500: '#1c821c',
    950: '#000000',
  },
}
SCSS
$custom: #1c821c;
$custom-light: #6ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#1c821c",
  "rgb": {
    "r": 28,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.16356,
    "h": 142.8
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C821C

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

Preview Lab → · Contrast checker → · Palette generator →

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